home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: Plain text[LF]
| default
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000010| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000020| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000030| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000040| 25 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |%.% | |
|00000050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000080| 20 20 25 0a 25 20 20 20 | 20 20 20 20 20 20 20 20 | %.% | |
|00000090| 20 20 20 20 20 20 20 20 | 20 20 20 20 4c 65 67 61 | | Lega|
|000000a0| 6c 20 4e 6f 74 69 63 65 | 20 20 20 20 20 20 20 20 |l Notice| |
|000000b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000c0| 20 20 20 20 25 0a 25 20 | 20 20 20 20 20 20 20 20 | %.% | |
|000000d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000100| 20 20 20 20 20 20 25 0a | 25 20 54 68 69 73 20 64 | %.|% This d|
|00000110| 6f 63 75 6d 65 6e 74 20 | 69 73 20 63 6f 70 79 72 |ocument |is copyr|
|00000120| 69 67 68 74 20 28 43 29 | 20 4f 6c 61 66 20 4b 69 |ight (C)| Olaf Ki|
|00000130| 72 63 68 2c 20 6f 6b 69 | 72 40 6d 6f 6e 61 64 2e |rch, oki|r@monad.|
|00000140| 73 77 62 2e 64 65 20 20 | 25 0a 25 20 20 20 20 20 |swb.de |%.% |
|00000150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 25 0a 25 20 46 6f | | %.% Fo|
|00000190| 72 20 63 6f 70 79 69 6e | 67 20 63 6f 6e 64 69 74 |r copyin|g condit|
|000001a0| 69 6f 6e 73 2c 20 70 6c | 65 61 73 65 20 72 65 66 |ions, pl|ease ref|
|000001b0| 65 72 20 74 6f 20 74 68 | 65 20 66 69 6c 65 20 43 |er to th|e file C|
|000001c0| 4f 50 59 49 4e 47 2e 09 | 25 0a 25 20 20 20 20 20 |OPYING..|%.% |
|000001d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000200| 20 20 20 20 20 20 20 20 | 20 20 25 0a 25 20 54 68 | | %.% Th|
|00000210| 65 20 61 75 74 68 6f 72 | 20 69 73 20 6e 6f 74 20 |e author| is not |
|00000220| 6c 69 61 62 6c 65 20 66 | 6f 72 20 61 6e 79 20 64 |liable f|or any d|
|00000230| 61 6d 61 67 65 73 2c 20 | 64 69 72 65 63 74 20 6f |amages, |direct o|
|00000240| 72 20 69 6e 64 69 72 65 | 63 74 2c 20 25 0a 25 20 |r indire|ct, %.% |
|00000250| 72 65 73 75 6c 74 69 6e | 67 20 66 72 6f 6d 20 74 |resultin|g from t|
|00000260| 68 65 20 75 73 65 20 6f | 66 20 69 6e 66 6f 72 6d |he use o|f inform|
|00000270| 61 74 69 6f 6e 20 70 72 | 6f 76 69 64 65 64 20 69 |ation pr|ovided i|
|00000280| 6e 20 74 68 69 73 20 20 | 20 20 20 20 20 20 25 0a |n this | %.|
|00000290| 25 20 64 6f 63 75 6d 65 | 6e 74 2e 20 20 20 20 20 |% docume|nt. |
|000002a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002d0| 25 0a 25 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |%.% | |
|000002e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000002f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000300| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000310| 20 20 25 0a 25 25 25 25 | 25 25 25 25 25 25 25 25 | %.%%%%|%%%%%%%%|
|00000320| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000330| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000340| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000350| 25 25 25 25 25 0a 25 20 | 57 68 65 6e 20 76 69 65 |%%%%%.% |When vie|
|00000360| 77 69 6e 67 20 74 68 69 | 73 20 64 6f 63 75 6d 65 |wing thi|s docume|
|00000370| 6e 74 20 77 69 74 68 20 | 76 69 20 6f 6e 20 61 6e |nt with |vi on an|
|00000380| 20 38 30 2d 63 6f 6c 75 | 6d 6e 73 20 73 63 72 65 | 80-colu|mns scre|
|00000390| 65 6e 2c 20 20 20 25 0a | 25 20 64 6f 20 61 20 27 |en, %.|% do a '|
|000003a0| 3a 73 65 20 6e 6f 6e 75 | 6d 62 65 72 27 20 66 69 |:se nonu|mber' fi|
|000003b0| 72 73 74 2e 20 20 20 20 | 20 20 20 20 20 20 20 20 |rst. | |
|000003c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000003d0| 20 20 20 20 20 20 20 20 | 25 0a 25 25 25 25 25 25 | |%.%%%%%%|
|000003e0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000003f0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000400| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000410| 25 25 25 25 25 25 25 25 | 25 25 25 0a 0a 25 25 25 |%%%%%%%%|%%%..%%%|
|00000420| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000430| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000440| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000450| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 0a 25 |%%%%%%%%|%%%%%%.%|
|00000460| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000470| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000480| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000490| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000004a0| 0a 25 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.% | |
|000004b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004e0| 20 25 0a 25 20 20 20 20 | 20 20 20 20 20 20 20 20 | %.% | |
|000004f0| 20 20 20 53 20 54 20 41 | 20 52 20 54 20 20 20 4f | S T A| R T O|
|00000500| 20 46 20 20 20 43 20 48 | 20 41 20 50 20 54 20 45 | F C H| A P T E|
|00000510| 20 52 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | R | |
|00000520| 20 20 20 25 0a 25 20 20 | 20 20 20 20 20 20 20 20 | %.% | |
|00000530| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000540| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000550| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000560| 20 20 20 20 20 25 0a 25 | 25 25 25 25 25 25 25 25 | %.%|%%%%%%%%|
|00000570| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000580| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000590| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000005a0| 25 25 25 25 25 25 25 25 | 0a 25 25 25 25 25 25 25 |%%%%%%%%|.%%%%%%%|
|000005b0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000005c0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000005d0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000005e0| 25 25 25 25 25 25 25 25 | 25 25 0a 0a 5c 63 68 61 |%%%%%%%%|%%..\cha|
|000005f0| 70 74 65 72 7b 54 68 65 | 20 4e 65 74 77 6f 72 6b |pter{The| Network|
|00000600| 20 46 69 6c 65 20 53 79 | 73 74 65 6d 7d 0a 25 25 | File Sy|stem}.%%|
|00000610| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000620| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000630| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00000640| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 0a |%%%%%%%%|%%%%%%%.|
|00000650| 5c 6c 61 62 65 6c 7b 6e | 66 73 7d 0a 5c 69 6e 64 |\label{n|fs}.\ind|
|00000660| 65 78 7b 66 69 6c 65 20 | 73 68 61 72 69 6e 67 7d |ex{file |sharing}|
|00000670| 0a 5c 69 6e 64 65 78 7b | 72 65 6d 6f 74 65 21 66 |.\index{|remote!f|
|00000680| 69 6c 65 20 61 63 63 65 | 73 73 7d 0a 5c 69 6e 64 |ile acce|ss}.\ind|
|00000690| 65 78 7b 4e 65 74 77 6f | 72 6b 20 46 69 6c 65 20 |ex{Netwo|rk File |
|000006a0| 53 79 73 74 65 6d 7c 73 | 65 65 20 7b 4e 46 53 7d |System|s|ee {NFS}|
|000006b0| 7d 0a 5c 69 6e 64 65 78 | 7b 4e 46 53 7c 28 7d 0a |}.\index|{NFS|(}.|
|000006c0| 0a 4e 46 53 2c 20 74 68 | 65 20 6e 65 74 77 6f 72 |.NFS, th|e networ|
|000006d0| 6b 20 66 69 6c 65 73 79 | 73 74 65 6d 2c 20 69 73 |k filesy|stem, is|
|000006e0| 20 70 72 6f 62 61 62 6c | 79 20 74 68 65 20 6d 6f | probabl|y the mo|
|000006f0| 73 74 20 70 72 6f 6d 69 | 6e 65 6e 74 20 6e 65 74 |st promi|nent net|
|00000700| 77 6f 72 6b 0a 73 65 72 | 76 69 63 65 73 20 75 73 |work.ser|vices us|
|00000710| 69 6e 67 20 52 50 43 2e | 20 49 74 20 61 6c 6c 6f |ing RPC.| It allo|
|00000720| 77 73 20 74 6f 20 61 63 | 63 65 73 73 20 66 69 6c |ws to ac|cess fil|
|00000730| 65 73 20 6f 6e 20 72 65 | 6d 6f 74 65 20 68 6f 73 |es on re|mote hos|
|00000740| 74 73 20 69 6e 20 65 78 | 61 63 74 6c 79 0a 74 68 |ts in ex|actly.th|
|00000750| 65 20 73 61 6d 65 20 77 | 61 79 20 61 73 20 61 20 |e same w|ay as a |
|00000760| 75 73 65 72 20 77 6f 75 | 6c 64 20 61 63 63 65 73 |user wou|ld acces|
|00000770| 73 20 61 6e 79 20 6c 6f | 63 61 6c 20 66 69 6c 65 |s any lo|cal file|
|00000780| 73 2e 20 54 68 69 73 20 | 69 73 20 6d 61 64 65 0a |s. This |is made.|
|00000790| 70 6f 73 73 69 62 6c 65 | 20 62 79 20 61 20 6d 69 |possible| by a mi|
|000007a0| 78 74 75 72 65 20 6f 66 | 20 6b 65 72 6e 65 6c 20 |xture of| kernel |
|000007b0| 66 75 6e 63 74 69 6f 6e | 61 6c 69 74 79 20 6f 6e |function|ality on|
|000007c0| 20 74 68 65 20 63 6c 69 | 65 6e 74 20 73 69 64 65 | the cli|ent side|
|000007d0| 20 28 74 68 61 74 0a 75 | 73 65 73 20 74 68 65 20 | (that.u|ses the |
|000007e0| 72 65 6d 6f 74 65 20 66 | 69 6c 65 20 73 79 73 74 |remote f|ile syst|
|000007f0| 65 6d 29 20 61 6e 64 20 | 61 6e 20 4e 46 53 20 73 |em) and |an NFS s|
|00000800| 65 72 76 65 72 20 6f 6e | 20 74 68 65 20 73 65 72 |erver on| the ser|
|00000810| 76 65 72 20 73 69 64 65 | 20 28 74 68 61 74 0a 70 |ver side| (that.p|
|00000820| 72 6f 76 69 64 65 73 20 | 74 68 65 20 66 69 6c 65 |rovides |the file|
|00000830| 20 64 61 74 61 29 2e 20 | 20 54 68 69 73 20 66 69 | data). | This fi|
|00000840| 6c 65 20 61 63 63 65 73 | 73 20 69 73 20 63 6f 6d |le acces|s is com|
|00000850| 70 6c 65 74 65 6c 79 20 | 74 72 61 6e 73 70 61 72 |pletely |transpar|
|00000860| 65 6e 74 20 74 6f 0a 74 | 68 65 20 63 6c 69 65 6e |ent to.t|he clien|
|00000870| 74 2c 20 61 6e 64 20 77 | 6f 72 6b 73 20 61 63 72 |t, and w|orks acr|
|00000880| 6f 73 73 20 61 20 76 61 | 72 69 65 74 79 20 6f 66 |oss a va|riety of|
|00000890| 20 73 65 72 76 65 72 20 | 61 6e 64 20 68 6f 73 74 | server |and host|
|000008a0| 20 61 72 63 68 69 74 65 | 63 74 75 72 65 73 2e 0a | archite|ctures..|
|000008b0| 0a 0a 4e 46 53 20 6f 66 | 66 65 72 73 20 61 20 6e |..NFS of|fers a n|
|000008c0| 75 6d 62 65 72 20 6f 66 | 20 61 64 76 61 6e 74 61 |umber of| advanta|
|000008d0| 67 65 73 3a 0a 0a 0a 5c | 62 65 67 69 6e 7b 69 74 |ges:...\|begin{it|
|000008e0| 65 6d 69 7a 65 7d 0a 5c | 69 74 65 6d 20 20 20 44 |emize}.\|item D|
|000008f0| 61 74 61 20 61 63 63 65 | 73 73 65 64 20 62 79 20 |ata acce|ssed by |
|00000900| 61 6c 6c 20 75 73 65 72 | 73 20 63 61 6e 20 62 65 |all user|s can be|
|00000910| 20 6b 65 70 74 20 6f 6e | 20 61 20 63 65 6e 74 72 | kept on| a centr|
|00000920| 61 6c 0a 20 20 20 20 20 | 20 20 20 68 6f 73 74 2c |al. | host,|
|00000930| 20 77 69 74 68 20 63 6c | 69 65 6e 74 73 20 6d 6f | with cl|ients mo|
|00000940| 75 6e 74 69 6e 67 20 74 | 68 69 73 20 64 69 72 65 |unting t|his dire|
|00000950| 63 74 6f 72 79 20 61 74 | 20 62 6f 6f 74 20 74 69 |ctory at| boot ti|
|00000960| 6d 65 2e 20 46 6f 72 0a | 20 20 20 20 20 20 20 20 |me. For.| |
|00000970| 65 78 61 6d 70 6c 65 2c | 20 79 6f 75 20 63 61 6e |example,| you can|
|00000980| 20 6b 65 65 70 20 61 6c | 6c 20 75 73 65 72 20 61 | keep al|l user a|
|00000990| 63 63 6f 75 6e 74 73 20 | 6f 6e 20 6f 6e 65 20 68 |ccounts |on one h|
|000009a0| 6f 73 74 2c 20 61 6e 64 | 20 68 61 76 65 0a 20 20 |ost, and| have. |
|000009b0| 20 20 20 20 20 20 61 6c | 6c 20 68 6f 73 74 73 20 | al|l hosts |
|000009c0| 6f 6e 20 79 6f 75 72 20 | 6e 65 74 77 6f 72 6b 20 |on your |network |
|000009d0| 6d 6f 75 6e 74 20 5c 66 | 69 6c 65 7b 2f 68 6f 6d |mount \f|ile{/hom|
|000009e0| 65 7d 20 66 72 6f 6d 20 | 74 68 61 74 20 68 6f 73 |e} from |that hos|
|000009f0| 74 2e 20 49 66 0a 20 20 | 20 20 20 20 20 20 69 6e |t. If. | in|
|00000a00| 73 74 61 6c 6c 65 64 20 | 61 6c 6f 6e 67 73 69 64 |stalled |alongsid|
|00000a10| 65 20 77 69 74 68 20 4e | 49 53 2c 20 75 73 65 72 |e with N|IS, user|
|00000a20| 73 20 63 61 6e 20 74 68 | 65 6e 20 6c 6f 67 20 69 |s can th|en log i|
|00000a30| 6e 74 6f 20 61 6e 79 0a | 20 20 20 20 20 20 20 20 |nto any.| |
|00000a40| 73 79 73 74 65 6d 2c 20 | 61 6e 64 20 73 74 69 6c |system, |and stil|
|00000a50| 6c 20 77 6f 72 6b 20 6f | 6e 20 6f 6e 65 20 73 65 |l work o|n one se|
|00000a60| 74 20 6f 66 20 66 69 6c | 65 73 2e 0a 0a 5c 69 74 |t of fil|es...\it|
|00000a70| 65 6d 20 20 20 44 61 74 | 61 20 63 6f 6e 73 75 6d |em Dat|a consum|
|00000a80| 69 6e 67 20 6c 61 72 67 | 65 20 61 6d 6f 75 6e 74 |ing larg|e amount|
|00000a90| 73 20 6f 66 20 64 69 73 | 6b 20 73 70 61 63 65 20 |s of dis|k space |
|00000aa0| 6d 61 79 20 62 65 20 6b | 65 70 74 0a 20 20 20 20 |may be k|ept. |
|00000ab0| 20 20 20 20 6f 6e 20 61 | 20 73 69 6e 67 6c 65 20 | on a| single |
|00000ac0| 68 6f 73 74 2e 20 20 46 | 6f 72 20 65 78 61 6d 70 |host. F|or examp|
|00000ad0| 6c 65 2c 20 61 6c 6c 20 | 66 69 6c 65 73 20 61 6e |le, all |files an|
|00000ae0| 64 20 70 72 6f 67 72 61 | 6d 73 20 72 65 6c 61 74 |d progra|ms relat|
|00000af0| 69 6e 67 0a 20 20 20 20 | 20 20 20 20 74 6f 20 5c |ing. | to \|
|00000b00| 4c 61 54 65 58 7b 7d 20 | 61 6e 64 20 4d 45 54 41 |LaTeX{} |and META|
|00000b10| 46 4f 4e 54 20 63 6f 75 | 6c 64 20 62 65 20 6b 65 |FONT cou|ld be ke|
|00000b20| 70 74 20 61 6e 64 20 6d | 61 69 6e 74 61 69 6e 65 |pt and m|aintaine|
|00000b30| 64 20 69 6e 20 6f 6e 65 | 0a 20 20 20 20 20 20 20 |d in one|. |
|00000b40| 20 70 6c 61 63 65 2e 0a | 0a 5c 69 74 65 6d 20 20 | place..|.\item |
|00000b50| 20 41 64 6d 69 6e 69 73 | 74 72 61 74 69 76 65 20 | Adminis|trative |
|00000b60| 64 61 74 61 20 6d 61 79 | 20 62 65 20 6b 65 70 74 |data may| be kept|
|00000b70| 20 6f 6e 20 61 20 73 69 | 6e 67 6c 65 20 68 6f 73 | on a si|ngle hos|
|00000b80| 74 2e 0a 20 20 20 20 20 | 20 20 20 4e 6f 20 6e 65 |t.. | No ne|
|00000b90| 65 64 20 74 6f 20 75 73 | 65 20 5c 70 72 6f 67 7b |ed to us|e \prog{|
|00000ba0| 72 63 70 7d 20 61 6e 79 | 6d 6f 72 65 20 74 6f 20 |rcp} any|more to |
|00000bb0| 69 6e 73 74 61 6c 6c 20 | 74 68 65 20 73 61 6d 65 |install |the same|
|00000bc0| 0a 20 20 20 20 20 20 20 | 20 73 74 75 70 69 64 20 |. | stupid |
|00000bd0| 66 69 6c 65 20 6f 6e 20 | 32 30 20 64 69 66 66 65 |file on |20 diffe|
|00000be0| 72 65 6e 74 20 6d 61 63 | 68 69 6e 65 73 2e 0a 0a |rent mac|hines...|
|00000bf0| 5c 65 6e 64 7b 69 74 65 | 6d 69 7a 65 7d 0a 0a 0a |\end{ite|mize}...|
|00000c00| 5c 6c 69 6e 75 78 7b 7d | 20 4e 46 53 20 69 73 20 |\linux{}| NFS is |
|00000c10| 6c 61 72 67 65 6c 79 20 | 74 68 65 20 77 6f 72 6b |largely |the work|
|00000c20| 20 6f 66 20 52 69 63 6b | 20 53 6c 61 64 6b 65 79 | of Rick| Sladkey|
|00000c30| 2c 5c 66 6f 6f 74 6e 6f | 74 65 7b 0a 20 52 69 63 |,\footno|te{. Ric|
|00000c40| 6b 20 63 61 6e 20 62 65 | 20 72 65 61 63 68 65 64 |k can be| reached|
|00000c50| 20 61 74 20 5c 65 6d 61 | 69 6c 7b 6a 72 73 40 77 | at \ema|il{jrs@w|
|00000c60| 6f 72 6c 64 2e 73 74 64 | 2e 63 6f 6d 7d 2e 0a 7d |orld.std|.com}..}|
|00000c70| 20 77 68 6f 20 77 72 6f | 74 65 20 74 68 65 20 4e | who wro|te the N|
|00000c80| 46 53 20 6b 65 72 6e 65 | 6c 20 63 6f 64 65 20 61 |FS kerne|l code a|
|00000c90| 6e 64 20 6c 61 72 67 65 | 20 70 61 72 74 73 20 6f |nd large| parts o|
|00000ca0| 66 20 74 68 65 20 4e 46 | 53 20 73 65 72 76 65 72 |f the NF|S server|
|00000cb0| 2e 20 54 68 65 0a 6c 61 | 74 74 65 72 20 69 73 20 |. The.la|tter is |
|00000cc0| 64 65 72 69 76 65 64 20 | 66 72 6f 6d 20 74 68 65 |derived |from the|
|00000cd0| 20 5c 70 72 6f 67 7b 75 | 6e 66 73 64 7d 20 75 73 | \prog{u|nfsd} us|
|00000ce0| 65 72 2d 73 70 61 63 65 | 20 4e 46 53 20 73 65 72 |er-space| NFS ser|
|00000cf0| 76 65 72 20 6f 72 69 67 | 69 6e 61 6c 6c 79 0a 77 |ver orig|inally.w|
|00000d00| 72 69 74 74 65 6e 20 62 | 79 20 4d 61 72 6b 20 53 |ritten b|y Mark S|
|00000d10| 68 61 6e 64 2c 20 61 6e | 64 20 74 68 65 20 5c 66 |hand, an|d the \f|
|00000d20| 69 6c 65 7b 68 6e 66 73 | 7d 20 48 61 72 72 69 73 |ile{hnfs|} Harris|
|00000d30| 20 4e 46 53 20 73 65 72 | 76 65 72 20 77 72 69 74 | NFS ser|ver writ|
|00000d40| 74 65 6e 20 62 79 0a 44 | 6f 6e 61 6c 64 20 42 65 |ten by.D|onald Be|
|00000d50| 63 6b 65 72 2e 0a 0a 0a | 5c 69 6e 64 65 78 7b 4e |cker....|\index{N|
|00000d60| 46 53 21 6d 6f 75 6e 74 | 69 6e 67 20 61 20 76 6f |FS!mount|ing a vo|
|00000d70| 6c 75 6d 65 7d 0a 4c 65 | 74 27 73 20 68 61 76 65 |lume}.Le|t's have|
|00000d80| 20 61 20 6c 6f 6f 6b 20 | 6e 6f 77 20 61 74 20 68 | a look |now at h|
|00000d90| 6f 77 20 4e 46 53 20 77 | 6f 72 6b 73 3a 20 41 20 |ow NFS w|orks: A |
|00000da0| 63 6c 69 65 6e 74 20 6d | 61 79 20 72 65 71 75 65 |client m|ay reque|
|00000db0| 73 74 20 74 6f 20 6d 6f | 75 6e 74 20 61 0a 64 69 |st to mo|unt a.di|
|00000dc0| 72 65 63 74 6f 72 79 20 | 66 72 6f 6d 20 61 20 72 |rectory |from a r|
|00000dd0| 65 6d 6f 74 65 20 68 6f | 73 74 20 6f 6e 20 61 20 |emote ho|st on a |
|00000de0| 6c 6f 63 61 6c 20 64 69 | 72 65 63 74 6f 72 79 20 |local di|rectory |
|00000df0| 6a 75 73 74 20 74 68 65 | 20 73 61 6d 65 20 77 61 |just the| same wa|
|00000e00| 79 20 69 74 0a 63 61 6e | 20 6d 6f 75 6e 74 20 61 |y it.can| mount a|
|00000e10| 20 70 68 79 73 69 63 61 | 6c 20 64 65 76 69 63 65 | physica|l device|
|00000e20| 2e 20 20 48 6f 77 65 76 | 65 72 2c 20 74 68 65 20 |. Howev|er, the |
|00000e30| 73 79 6e 74 61 78 20 75 | 73 65 64 20 74 6f 20 73 |syntax u|sed to s|
|00000e40| 70 65 63 69 66 79 20 74 | 68 65 0a 72 65 6d 6f 74 |pecify t|he.remot|
|00000e50| 65 20 64 69 72 65 63 74 | 6f 72 79 20 69 73 20 64 |e direct|ory is d|
|00000e60| 69 66 66 65 72 65 6e 74 | 2e 20 46 6f 72 20 65 78 |ifferent|. For ex|
|00000e70| 61 6d 70 6c 65 2c 20 74 | 6f 20 6d 6f 75 6e 74 20 |ample, t|o mount |
|00000e80| 5c 66 69 6c 65 7b 2f 68 | 6f 6d 65 7d 20 66 72 6f |\file{/h|ome} fro|
|00000e90| 6d 0a 68 6f 73 74 20 5c | 68 6f 73 74 7b 76 6c 61 |m.host \|host{vla|
|00000ea0| 67 65 72 7d 20 74 6f 20 | 5c 66 69 6c 65 7b 2f 75 |ger} to |\file{/u|
|00000eb0| 73 65 72 73 7d 20 6f 6e | 20 5c 68 6f 73 74 7b 76 |sers} on| \host{v|
|00000ec0| 61 6c 65 7d 2c 20 74 68 | 65 20 61 64 6d 69 6e 69 |ale}, th|e admini|
|00000ed0| 73 74 72 61 74 6f 72 0a | 77 6f 75 6c 64 20 69 73 |strator.|would is|
|00000ee0| 73 75 65 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |sue the |followin|
|00000ef0| 67 20 63 6f 6d 6d 61 6e | 64 20 6f 6e 20 5c 68 6f |g comman|d on \ho|
|00000f00| 73 74 7b 76 61 6c 65 7d | 3a 5c 66 6f 6f 74 6e 6f |st{vale}|:\footno|
|00000f10| 74 65 7b 0a 20 4e 6f 74 | 65 20 74 68 61 74 20 79 |te{. Not|e that y|
|00000f20| 6f 75 20 63 61 6e 20 6f | 6d 69 74 20 74 68 65 20 |ou can o|mit the |
|00000f30| 5c 6f 70 74 69 6f 6e 7b | 2d 74 20 6e 66 73 7d 20 |\option{|-t nfs} |
|00000f40| 61 72 67 75 6d 65 6e 74 | 2c 20 62 65 63 61 75 73 |argument|, becaus|
|00000f50| 65 0a 20 5c 70 72 6f 67 | 7b 6d 6f 75 6e 74 7d 20 |e. \prog|{mount} |
|00000f60| 73 65 65 73 20 66 72 6f | 6d 20 74 68 65 20 63 6f |sees fro|m the co|
|00000f70| 6c 6f 6e 20 74 68 61 74 | 20 74 68 69 73 20 73 70 |lon that| this sp|
|00000f80| 65 63 69 66 69 65 73 20 | 61 6e 20 4e 46 53 0a 20 |ecifies |an NFS. |
|00000f90| 76 6f 6c 75 6d 65 2e 0a | 7d 0a 0a 5c 62 65 67 69 |volume..|}..\begi|
|00000fa0| 6e 7b 74 73 63 72 65 65 | 6e 7d 0a 20 5c 23 20 6d |n{tscree|n}. \# m|
|00000fb0| 6f 75 6e 74 20 2d 74 20 | 6e 66 73 20 76 6c 61 67 |ount -t |nfs vlag|
|00000fc0| 65 72 3a 2f 68 6f 6d 65 | 20 2f 75 73 65 72 73 0a |er:/home| /users.|
|00000fd0| 5c 65 6e 64 7b 74 73 63 | 72 65 65 6e 7d 0a 0a 5c |\end{tsc|reen}..\|
|00000fe0| 70 72 6f 67 7b 6d 6f 75 | 6e 74 7d 20 77 69 6c 6c |prog{mou|nt} will|
|00000ff0| 20 74 68 65 6e 20 74 72 | 79 20 74 6f 20 63 6f 6e | then tr|y to con|
|00001000| 6e 65 63 74 20 74 6f 20 | 74 68 65 20 5c 70 72 6f |nect to |the \pro|
|00001010| 67 7b 6d 6f 75 6e 74 64 | 7d 20 6d 6f 75 6e 74 20 |g{mountd|} mount |
|00001020| 64 61 65 6d 6f 6e 0a 6f | 6e 20 5c 68 6f 73 74 7b |daemon.o|n \host{|
|00001030| 76 6c 61 67 65 72 7d 20 | 76 69 61 20 52 50 43 2e |vlager} |via RPC.|
|00001040| 20 54 68 65 20 73 65 72 | 76 65 72 20 77 69 6c 6c | The ser|ver will|
|00001050| 20 63 68 65 63 6b 20 69 | 66 20 5c 68 6f 73 74 7b | check i|f \host{|
|00001060| 76 61 6c 65 7d 20 69 73 | 0a 70 65 72 6d 69 74 74 |vale} is|.permitt|
|00001070| 65 64 20 74 6f 20 6d 6f | 75 6e 74 20 74 68 65 20 |ed to mo|unt the |
|00001080| 64 69 72 65 63 74 6f 72 | 79 20 69 6e 20 71 75 65 |director|y in que|
|00001090| 73 74 69 6f 6e 2c 20 61 | 6e 64 20 69 66 20 73 6f |stion, a|nd if so|
|000010a0| 2c 20 72 65 74 75 72 6e | 20 69 74 20 61 0a 66 69 |, return| it a.fi|
|000010b0| 6c 65 20 68 61 6e 64 6c | 65 2e 20 54 68 69 73 20 |le handl|e. This |
|000010c0| 66 69 6c 65 20 68 61 6e | 64 6c 65 20 77 69 6c 6c |file han|dle will|
|000010d0| 20 62 65 20 75 73 65 64 | 20 69 6e 20 61 6c 6c 20 | be used| in all |
|000010e0| 73 75 62 73 65 71 75 65 | 6e 74 20 72 65 71 75 65 |subseque|nt reque|
|000010f0| 73 74 73 20 74 6f 0a 66 | 69 6c 65 73 20 62 65 6c |sts to.f|iles bel|
|00001100| 6f 77 20 5c 66 69 6c 65 | 7b 2f 75 73 65 72 73 7d |ow \file|{/users}|
|00001110| 2e 0a 0a 0a 5c 69 6e 64 | 65 78 7b 73 65 72 76 65 |....\ind|ex{serve|
|00001120| 72 21 6e 66 73 64 40 5c | 70 72 6f 67 7b 6e 66 73 |r!nfsd@\|prog{nfs|
|00001130| 64 7d 7d 0a 5c 69 6e 64 | 65 78 7b 6e 66 73 64 40 |d}}.\ind|ex{nfsd@|
|00001140| 5c 70 72 6f 67 7b 6e 66 | 73 64 7d 7d 0a 57 68 65 |\prog{nf|sd}}.Whe|
|00001150| 6e 20 73 6f 6d 65 6f 6e | 65 20 61 63 63 65 73 73 |n someon|e access|
|00001160| 65 73 20 61 20 66 69 6c | 65 20 6f 76 65 72 20 4e |es a fil|e over N|
|00001170| 46 53 2c 20 74 68 65 20 | 6b 65 72 6e 65 6c 20 70 |FS, the |kernel p|
|00001180| 6c 61 63 65 73 20 61 6e | 20 52 50 43 20 63 61 6c |laces an| RPC cal|
|00001190| 6c 20 74 6f 0a 5c 70 72 | 6f 67 7b 6e 66 73 64 7d |l to.\pr|og{nfsd}|
|000011a0| 20 28 74 68 65 20 4e 46 | 53 20 64 61 65 6d 6f 6e | (the NF|S daemon|
|000011b0| 29 20 6f 6e 20 74 68 65 | 20 73 65 72 76 65 72 20 |) on the| server |
|000011c0| 6d 61 63 68 69 6e 65 2e | 20 54 68 69 73 20 63 61 |machine.| This ca|
|000011d0| 6c 6c 20 74 61 6b 65 73 | 20 74 68 65 0a 66 69 6c |ll takes| the.fil|
|000011e0| 65 20 68 61 6e 64 6c 65 | 2c 20 74 68 65 20 6e 61 |e handle|, the na|
|000011f0| 6d 65 20 6f 66 20 74 68 | 65 20 66 69 6c 65 20 74 |me of th|e file t|
|00001200| 6f 20 62 65 20 61 63 63 | 65 73 73 65 64 2c 20 61 |o be acc|essed, a|
|00001210| 6e 64 20 74 68 65 20 75 | 73 65 72 27 73 20 75 73 |nd the u|ser's us|
|00001220| 65 72 0a 61 6e 64 20 67 | 72 6f 75 70 20 69 64 20 |er.and g|roup id |
|00001230| 61 73 20 70 61 72 61 6d | 65 74 65 72 73 2e 20 54 |as param|eters. T|
|00001240| 68 65 73 65 20 61 72 65 | 20 75 73 65 64 20 69 6e |hese are| used in|
|00001250| 20 64 65 74 65 72 6d 69 | 6e 69 6e 67 20 61 63 63 | determi|ning acc|
|00001260| 65 73 73 20 72 69 67 68 | 74 73 0a 74 6f 20 74 68 |ess righ|ts.to th|
|00001270| 65 20 73 70 65 63 69 66 | 69 65 64 20 66 69 6c 65 |e specif|ied file|
|00001280| 2e 20 49 6e 20 6f 72 64 | 65 72 20 74 6f 20 70 72 |. In ord|er to pr|
|00001290| 65 76 65 6e 74 20 75 6e | 61 75 74 68 6f 72 69 7a |event un|authoriz|
|000012a0| 65 64 20 75 73 65 72 73 | 20 66 72 6f 6d 0a 72 65 |ed users| from.re|
|000012b0| 61 64 69 6e 67 20 6f 72 | 20 6d 6f 64 69 66 79 69 |ading or| modifyi|
|000012c0| 6e 67 20 66 69 6c 65 73 | 2c 20 75 73 65 72 20 61 |ng files|, user a|
|000012d0| 6e 64 20 67 72 6f 75 70 | 20 69 64 73 20 6d 75 73 |nd group| ids mus|
|000012e0| 74 20 62 65 20 74 68 65 | 20 73 61 6d 65 20 6f 6e |t be the| same on|
|000012f0| 20 62 6f 74 68 0a 68 6f | 73 74 73 2e 0a 0a 0a 4f | both.ho|sts....O|
|00001300| 6e 20 6d 6f 73 74 20 5c | 75 6e 69 78 7b 7d 20 69 |n most \|unix{} i|
|00001310| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 73 2c 20 |mplement|ations, |
|00001320| 74 68 65 20 4e 46 53 20 | 66 75 6e 63 74 69 6f 6e |the NFS |function|
|00001330| 61 6c 69 74 79 20 6f 66 | 20 62 6f 74 68 20 63 6c |ality of| both cl|
|00001340| 69 65 6e 74 0a 61 6e 64 | 20 73 65 72 76 65 72 20 |ient.and| server |
|00001350| 61 72 65 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 20 |are impl|emented |
|00001360| 61 73 20 6b 65 72 6e 65 | 6c 2d 6c 65 76 65 6c 20 |as kerne|l-level |
|00001370| 64 61 65 6d 6f 6e 73 20 | 74 68 61 74 20 61 72 65 |daemons |that are|
|00001380| 20 73 74 61 72 74 65 64 | 20 66 72 6f 6d 0a 75 73 | started| from.us|
|00001390| 65 72 20 73 70 61 63 65 | 20 61 74 20 73 79 73 74 |er space| at syst|
|000013a0| 65 6d 20 62 6f 6f 74 2e | 20 20 54 68 65 73 65 20 |em boot.| These |
|000013b0| 61 72 65 20 74 68 65 20 | 4e 46 53 20 64 61 65 6d |are the |NFS daem|
|000013c0| 6f 6e 20 28 5c 70 72 6f | 67 7b 6e 66 73 64 7d 29 |on (\pro|g{nfsd})|
|000013d0| 20 6f 6e 0a 74 68 65 20 | 73 65 72 76 65 72 20 68 | on.the |server h|
|000013e0| 6f 73 74 2c 20 61 6e 64 | 20 74 68 65 20 5c 65 6d |ost, and| the \em|
|000013f0| 70 68 7b 42 6c 6f 63 6b | 20 49 2f 4f 20 44 61 65 |ph{Block| I/O Dae|
|00001400| 6d 6f 6e 7d 20 28 5c 70 | 72 6f 67 7b 62 69 6f 64 |mon} (\p|rog{biod|
|00001410| 7d 29 20 72 75 6e 6e 69 | 6e 67 0a 6f 6e 20 74 68 |}) runni|ng.on th|
|00001420| 65 20 63 6c 69 65 6e 74 | 20 68 6f 73 74 2e 20 54 |e client| host. T|
|00001430| 6f 20 69 6d 70 72 6f 76 | 65 20 74 68 72 6f 75 67 |o improv|e throug|
|00001440| 68 70 75 74 2c 20 5c 70 | 72 6f 67 7b 62 69 6f 64 |hput, \p|rog{biod|
|00001450| 7d 20 70 65 72 66 6f 72 | 6d 73 0a 61 73 79 6e 63 |} perfor|ms.async|
|00001460| 68 72 6f 6e 6f 75 73 20 | 49 2f 4f 20 75 73 69 6e |hronous |I/O usin|
|00001470| 67 20 72 65 61 64 2d 61 | 68 65 61 64 20 61 6e 64 |g read-a|head and|
|00001480| 20 77 72 69 74 65 2d 62 | 65 68 69 6e 64 3b 20 61 | write-b|ehind; a|
|00001490| 6c 73 6f 2c 20 73 65 76 | 65 72 61 6c 0a 5c 70 72 |lso, sev|eral.\pr|
|000014a0| 6f 67 7b 6e 66 73 64 7d | 20 64 61 65 6d 6f 6e 73 |og{nfsd}| daemons|
|000014b0| 20 61 72 65 20 75 73 75 | 61 6c 6c 79 20 72 75 6e | are usu|ally run|
|000014c0| 20 63 6f 6e 63 75 72 72 | 65 6e 74 6c 79 2e 0a 0a | concurr|ently...|
|000014d0| 0a 54 68 65 20 4e 46 53 | 20 69 6d 70 6c 65 6d 65 |.The NFS| impleme|
|000014e0| 6e 74 61 74 69 6f 6e 20 | 6f 66 20 5c 6c 69 6e 75 |ntation |of \linu|
|000014f0| 78 7b 7d 20 69 73 20 61 | 20 6c 69 74 74 6c 65 20 |x{} is a| little |
|00001500| 64 69 66 66 65 72 65 6e | 74 20 69 6e 20 74 68 61 |differen|t in tha|
|00001510| 74 20 74 68 65 0a 63 6c | 69 65 6e 74 20 63 6f 64 |t the.cl|ient cod|
|00001520| 65 20 69 73 20 74 69 67 | 68 74 6c 79 20 69 6e 74 |e is tig|htly int|
|00001530| 65 67 72 61 74 65 64 20 | 69 6e 20 74 68 65 20 76 |egrated |in the v|
|00001540| 69 72 74 75 61 6c 20 66 | 69 6c 65 20 73 79 73 74 |irtual f|ile syst|
|00001550| 65 6d 20 28 56 46 53 29 | 20 6c 61 79 65 72 0a 6f |em (VFS)| layer.o|
|00001560| 66 20 74 68 65 20 6b 65 | 72 6e 65 6c 20 61 6e 64 |f the ke|rnel and|
|00001570| 20 64 6f 65 73 6e 27 74 | 20 72 65 71 75 69 72 65 | doesn't| require|
|00001580| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 63 6f 6e 74 | additio|nal cont|
|00001590| 72 6f 6c 20 74 68 72 6f | 75 67 68 0a 5c 70 72 6f |rol thro|ugh.\pro|
|000015a0| 67 7b 62 69 6f 64 7d 2e | 20 4f 6e 20 74 68 65 20 |g{biod}.| On the |
|000015b0| 6f 74 68 65 72 20 68 61 | 6e 64 2c 20 74 68 65 20 |other ha|nd, the |
|000015c0| 73 65 72 76 65 72 20 63 | 6f 64 65 20 72 75 6e 73 |server c|ode runs|
|000015d0| 20 65 6e 74 69 72 65 6c | 79 20 69 6e 20 75 73 65 | entirel|y in use|
|000015e0| 72 0a 73 70 61 63 65 2c | 20 73 6f 20 74 68 61 74 |r.space,| so that|
|000015f0| 20 72 75 6e 6e 69 6e 67 | 20 73 65 76 65 72 61 6c | running| several|
|00001600| 20 63 6f 70 69 65 73 20 | 6f 66 20 74 68 65 20 73 | copies |of the s|
|00001610| 65 72 76 65 72 20 61 74 | 20 74 68 65 20 73 61 6d |erver at| the sam|
|00001620| 65 20 74 69 6d 65 20 69 | 73 0a 61 6c 6d 6f 73 74 |e time i|s.almost|
|00001630| 20 69 6d 70 6f 73 73 69 | 62 6c 65 20 62 65 63 61 | impossi|ble beca|
|00001640| 75 73 65 20 6f 66 20 74 | 68 65 20 73 79 6e 63 68 |use of t|he synch|
|00001650| 72 6f 6e 69 7a 61 74 69 | 6f 6e 20 69 73 73 75 65 |ronizati|on issue|
|00001660| 73 20 74 68 69 73 20 77 | 6f 75 6c 64 0a 69 6e 76 |s this w|ould.inv|
|00001670| 6f 6c 76 65 2e 20 5c 6c | 69 6e 75 78 7b 7d 20 4e |olve. \l|inux{} N|
|00001680| 46 53 20 63 75 72 72 65 | 6e 74 6c 79 20 61 6c 73 |FS curre|ntly als|
|00001690| 6f 20 6c 61 63 6b 73 20 | 72 65 61 64 2d 61 68 65 |o lacks |read-ahe|
|000016a0| 61 64 20 61 6e 64 20 77 | 72 69 74 65 2d 62 65 68 |ad and w|rite-beh|
|000016b0| 69 6e 64 2c 0a 62 75 74 | 20 52 69 63 6b 20 53 6c |ind,.but| Rick Sl|
|000016c0| 61 64 6b 65 79 20 70 6c | 61 6e 73 20 74 6f 20 61 |adkey pl|ans to a|
|000016d0| 64 64 20 74 68 69 73 20 | 73 6f 6d 65 64 61 79 2e |dd this |someday.|
|000016e0| 5c 66 6f 6f 74 6e 6f 74 | 65 7b 0a 20 20 54 68 65 |\footnot|e{. The|
|000016f0| 20 70 72 6f 62 6c 65 6d | 20 77 69 74 68 20 77 72 | problem| with wr|
|00001700| 69 74 65 2d 62 65 68 69 | 6e 64 20 69 73 20 74 68 |ite-behi|nd is th|
|00001710| 61 74 20 74 68 65 20 6b | 65 72 6e 65 6c 20 62 75 |at the k|ernel bu|
|00001720| 66 66 65 72 20 63 61 63 | 68 65 20 69 73 20 69 6e |ffer cac|he is in|
|00001730| 64 65 78 65 64 0a 20 20 | 62 79 20 64 65 76 69 63 |dexed. |by devic|
|00001740| 65 2f 69 6e 6f 64 65 20 | 70 61 69 72 73 2c 20 61 |e/inode |pairs, a|
|00001750| 6e 64 20 74 68 65 72 65 | 66 6f 72 65 20 63 61 6e |nd there|fore can|
|00001760| 27 74 20 62 65 20 75 73 | 65 64 20 66 6f 72 20 4e |'t be us|ed for N|
|00001770| 46 53 2d 6d 6f 75 6e 74 | 65 64 0a 20 20 66 69 6c |FS-mount|ed. fil|
|00001780| 65 20 73 79 73 74 65 6d | 73 2e 0a 7d 0a 0a 0a 5c |e system|s..}...\|
|00001790| 69 6e 64 65 78 7b 4e 46 | 53 21 6c 69 6d 69 74 61 |index{NF|S!limita|
|000017a0| 74 69 6f 6e 73 7d 0a 5c | 69 6e 64 65 78 7b 4e 46 |tions}.\|index{NF|
|000017b0| 53 21 73 65 72 76 65 72 | 7d 0a 54 68 65 20 62 69 |S!server|}.The bi|
|000017c0| 67 67 65 73 74 20 70 72 | 6f 62 6c 65 6d 20 77 69 |ggest pr|oblem wi|
|000017d0| 74 68 20 74 68 65 20 5c | 6c 69 6e 75 78 7b 7d 20 |th the \|linux{} |
|000017e0| 4e 46 53 20 63 6f 64 65 | 20 69 73 20 74 68 61 74 |NFS code| is that|
|000017f0| 20 74 68 65 20 5c 6c 69 | 6e 75 78 7b 7d 0a 6b 65 | the \li|nux{}.ke|
|00001800| 72 6e 65 6c 20 61 73 20 | 6f 66 20 76 65 72 73 69 |rnel as |of versi|
|00001810| 6f 6e 20 31 2e 30 20 69 | 73 20 6e 6f 74 20 61 62 |on 1.0 i|s not ab|
|00001820| 6c 65 20 74 6f 20 61 6c | 6c 6f 63 61 74 65 20 6d |le to al|locate m|
|00001830| 65 6d 6f 72 79 20 69 6e | 20 63 68 75 6e 6b 73 20 |emory in| chunks |
|00001840| 62 69 67 67 65 72 0a 74 | 68 61 6e 20 34 4b 3b 20 |bigger.t|han 4K; |
|00001850| 61 73 20 61 20 63 6f 6e | 73 65 71 75 65 6e 63 65 |as a con|sequence|
|00001860| 2c 20 74 68 65 20 6e 65 | 74 77 6f 72 6b 69 6e 67 |, the ne|tworking|
|00001870| 20 63 6f 64 65 20 63 61 | 6e 6e 6f 74 20 68 61 6e | code ca|nnot han|
|00001880| 64 6c 65 20 64 61 74 61 | 67 72 61 6d 73 0a 62 69 |dle data|grams.bi|
|00001890| 67 67 65 72 20 74 68 61 | 6e 20 72 6f 75 67 68 6c |gger tha|n roughl|
|000018a0| 79 20 33 35 30 30 20 62 | 79 74 65 73 20 61 66 74 |y 3500 b|ytes aft|
|000018b0| 65 72 20 73 75 62 74 72 | 61 63 74 69 6e 67 20 68 |er subtr|acting h|
|000018c0| 65 61 64 65 72 20 73 69 | 7a 65 73 20 65 74 63 2e |eader si|zes etc.|
|000018d0| 20 54 68 69 73 0a 6d 65 | 61 6e 73 20 74 68 61 74 | This.me|ans that|
|000018e0| 20 74 72 61 6e 73 66 65 | 72 73 20 74 6f 20 61 6e | transfe|rs to an|
|000018f0| 64 20 66 72 6f 6d 20 4e | 46 53 20 64 61 65 6d 6f |d from N|FS daemo|
|00001900| 6e 73 20 72 75 6e 6e 69 | 6e 67 20 6f 6e 20 73 79 |ns runni|ng on sy|
|00001910| 73 74 65 6d 73 20 74 68 | 61 74 20 75 73 65 0a 6c |stems th|at use.l|
|00001920| 61 72 67 65 20 55 44 50 | 20 64 61 74 61 67 72 61 |arge UDP| datagra|
|00001930| 6d 73 20 62 79 20 64 65 | 66 61 75 6c 74 20 28 65 |ms by de|fault (e|
|00001940| 2e 67 2e 20 38 4b 20 6f | 6e 20 53 75 6e 4f 53 29 |.g. 8K o|n SunOS)|
|00001950| 20 6e 65 65 64 20 74 6f | 20 62 65 20 64 6f 77 6e | need to| be down|
|00001960| 73 69 7a 65 64 0a 61 72 | 74 69 66 69 63 69 61 6c |sized.ar|tificial|
|00001970| 6c 79 2e 20 54 68 69 73 | 20 68 75 72 74 73 20 70 |ly. This| hurts p|
|00001980| 65 72 66 6f 72 6d 61 6e | 63 65 20 62 61 64 6c 79 |erforman|ce badly|
|00001990| 20 75 6e 64 65 72 20 73 | 6f 6d 65 0a 63 69 72 63 | under s|ome.circ|
|000019a0| 75 6d 73 74 61 6e 63 65 | 73 2e 5c 66 6f 6f 74 6e |umstance|s.\footn|
|000019b0| 6f 74 65 7b 0a 20 20 41 | 73 20 65 78 70 6c 61 69 |ote{. A|s explai|
|000019c0| 6e 65 64 20 74 6f 20 6d | 65 20 62 79 20 41 6c 61 |ned to m|e by Ala|
|000019d0| 6e 20 43 6f 78 3a 0a 20 | 20 54 68 65 20 4e 46 53 |n Cox:. | The NFS|
|000019e0| 20 73 70 65 63 69 66 69 | 63 61 74 69 6f 6e 20 72 | specifi|cation r|
|000019f0| 65 71 75 69 72 65 73 20 | 74 68 65 20 73 65 72 76 |equires |the serv|
|00001a00| 65 72 20 74 6f 20 66 6c | 75 73 68 20 65 61 63 68 |er to fl|ush each|
|00001a10| 20 77 72 69 74 65 20 74 | 6f 20 64 69 73 6b 0a 20 | write t|o disk. |
|00001a20| 20 62 65 66 6f 72 65 20 | 69 74 20 72 65 74 75 72 | before |it retur|
|00001a30| 6e 73 20 61 6e 20 61 63 | 6b 6e 6f 77 6c 65 64 67 |ns an ac|knowledg|
|00001a40| 65 6d 65 6e 74 2e 20 41 | 73 20 42 53 44 20 6b 65 |ement. A|s BSD ke|
|00001a50| 72 6e 65 6c 73 20 61 72 | 65 20 6f 6e 6c 79 20 63 |rnels ar|e only c|
|00001a60| 61 70 61 62 6c 65 0a 20 | 20 6f 66 20 70 61 67 65 |apable. | of page|
|00001a70| 2d 73 69 7a 65 64 20 77 | 72 69 74 65 73 20 28 34 |-sized w|rites (4|
|00001a80| 4b 29 2c 20 77 72 69 74 | 69 6e 67 20 61 20 34 20 |K), writ|ing a 4 |
|00001a90| 63 68 75 6e 6b 73 20 6f | 66 20 31 4b 20 65 61 63 |chunks o|f 1K eac|
|00001aa0| 68 20 74 6f 20 61 20 42 | 53 44 2d 62 61 73 65 64 |h to a B|SD-based|
|00001ab0| 0a 20 20 4e 46 53 20 73 | 65 72 76 65 72 20 72 65 |. NFS s|erver re|
|00001ac0| 73 75 6c 74 73 20 69 6e | 20 34 20 77 72 69 74 65 |sults in| 4 write|
|00001ad0| 20 6f 70 65 72 61 74 69 | 6f 6e 73 20 6f 66 20 34 | operati|ons of 4|
|00001ae0| 4b 20 65 61 63 68 2e 0a | 7d 20 54 68 69 73 20 6c |K each..|} This l|
|00001af0| 69 6d 69 74 20 69 73 20 | 67 6f 6e 65 20 69 6e 20 |imit is |gone in |
|00001b00| 6c 61 74 65 20 5c 6c 69 | 6e 75 78 7b 7d 2d 31 2e |late \li|nux{}-1.|
|00001b10| 31 20 6b 65 72 6e 65 6c | 73 2c 20 61 6e 64 20 74 |1 kernel|s, and t|
|00001b20| 68 65 20 63 6c 69 65 6e | 74 20 63 6f 64 65 0a 68 |he clien|t code.h|
|00001b30| 61 73 20 62 65 65 6e 20 | 6d 6f 64 69 66 69 65 64 |as been |modified|
|00001b40| 20 74 6f 20 74 61 6b 65 | 20 61 64 76 61 6e 74 61 | to take| advanta|
|00001b50| 67 65 20 6f 66 20 74 68 | 69 73 2e 0a 0a 0a 0a 5c |ge of th|is.....\|
|00001b60| 73 65 63 74 69 6f 6e 7b | 50 72 65 70 61 72 69 6e |section{|Preparin|
|00001b70| 67 20 4e 46 53 7d 0a 25 | 25 25 25 25 25 25 25 25 |g NFS}.%|%%%%%%%%|
|00001b80| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00001b90| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00001ba0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00001bb0| 25 25 25 25 25 25 25 25 | 0a 5c 6c 61 62 65 6c 7b |%%%%%%%%|.\label{|
|00001bc0| 6e 66 73 2e 6e 66 73 64 | 7d 0a 0a 42 65 66 6f 72 |nfs.nfsd|}..Befor|
|00001bd0| 65 20 79 6f 75 20 63 61 | 6e 20 75 73 65 20 4e 46 |e you ca|n use NF|
|00001be0| 53 2c 20 62 65 20 69 74 | 20 61 73 20 73 65 72 76 |S, be it| as serv|
|00001bf0| 65 72 20 6f 72 20 63 6c | 69 65 6e 74 2c 20 79 6f |er or cl|ient, yo|
|00001c00| 75 20 6d 75 73 74 20 6d | 61 6b 65 20 73 75 72 65 |u must m|ake sure|
|00001c10| 0a 79 6f 75 72 20 6b 65 | 72 6e 65 6c 20 68 61 73 |.your ke|rnel has|
|00001c20| 20 4e 46 53 20 73 75 70 | 70 6f 72 74 20 63 6f 6d | NFS sup|port com|
|00001c30| 70 69 6c 65 64 20 69 6e | 2e 20 20 4e 65 77 65 72 |piled in|. Newer|
|00001c40| 20 6b 65 72 6e 65 6c 73 | 20 68 61 76 65 20 61 20 | kernels| have a |
|00001c50| 73 69 6d 70 6c 65 0a 69 | 6e 74 65 72 66 61 63 65 |simple.i|nterface|
|00001c60| 20 6f 6e 20 74 68 65 20 | 70 72 6f 63 20 66 69 6c | on the |proc fil|
|00001c70| 65 73 79 73 74 65 6d 20 | 66 6f 72 20 74 68 69 73 |esystem |for this|
|00001c80| 2c 20 74 68 65 20 5c 66 | 69 6c 65 7b 2f 70 72 6f |, the \f|ile{/pro|
|00001c90| 63 2f 66 69 6c 65 73 79 | 73 74 65 6d 73 7d 0a 66 |c/filesy|stems}.f|
|00001ca0| 69 6c 65 2c 20 20 77 68 | 69 63 68 20 79 6f 75 20 |ile, wh|ich you |
|00001cb0| 63 61 6e 20 64 69 73 70 | 6c 61 79 20 75 73 69 6e |can disp|lay usin|
|00001cc0| 67 20 5c 70 72 6f 67 7b | 63 61 74 7d 3a 0a 0a 0a |g \prog{|cat}:...|
|00001cd0| 5c 62 65 67 69 6e 7b 74 | 73 63 72 65 65 6e 7d 0a |\begin{t|screen}.|
|00001ce0| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00001cf0| 0a 24 20 63 61 74 20 2f | 70 72 6f 63 2f 66 69 6c |.$ cat /|proc/fil|
|00001d00| 65 73 79 73 74 65 6d 73 | 0a 09 6d 69 6e 69 78 0a |esystems|..minix.|
|00001d10| 09 65 78 74 32 0a 09 6d | 73 64 6f 73 0a 6e 6f 64 |.ext2..m|sdos.nod|
|00001d20| 65 76 09 70 72 6f 63 0a | 6e 6f 64 65 76 09 6e 66 |ev.proc.|nodev.nf|
|00001d30| 73 0a 5c 65 6e 64 7b 76 | 65 72 62 61 74 69 6d 7d |s.\end{v|erbatim}|
|00001d40| 0a 5c 65 6e 64 7b 74 73 | 63 72 65 65 6e 7d 0a 0a |.\end{ts|creen}..|
|00001d50| 0a 49 66 20 5c 6b 65 79 | 77 6f 72 64 7b 6e 66 73 |.If \key|word{nfs|
|00001d60| 7d 20 69 73 20 6d 69 73 | 73 69 6e 67 20 66 72 6f |} is mis|sing fro|
|00001d70| 6d 20 74 68 69 73 20 6c | 69 73 74 2c 20 74 68 65 |m this l|ist, the|
|00001d80| 6e 20 79 6f 75 20 68 61 | 76 65 20 74 6f 20 63 6f |n you ha|ve to co|
|00001d90| 6d 70 69 6c 65 0a 79 6f | 75 72 20 6f 77 6e 20 6b |mpile.yo|ur own k|
|00001da0| 65 72 6e 65 6c 20 77 69 | 74 68 20 4e 46 53 20 65 |ernel wi|th NFS e|
|00001db0| 6e 61 62 6c 65 64 2e 20 | 20 43 6f 6e 66 69 67 75 |nabled. | Configu|
|00001dc0| 72 69 6e 67 20 74 68 65 | 20 6b 65 72 6e 65 6c 20 |ring the| kernel |
|00001dd0| 6e 65 74 77 6f 72 6b 0a | 6f 70 74 69 6f 6e 73 20 |network.|options |
|00001de0| 69 73 20 65 78 70 6c 61 | 69 6e 65 64 20 69 6e 20 |is expla|ined in |
|00001df0| 73 65 63 74 69 6f 6e 20 | 60 60 4b 65 72 6e 65 6c |section |``Kernel|
|00001e00| 20 43 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 27 27 | Configu|ration''|
|00001e10| 20 69 6e 0a 63 68 61 70 | 74 65 72 7e 5c 72 65 66 | in.chap|ter~\ref|
|00001e20| 7b 68 61 72 64 77 61 72 | 65 7d 2e 0a 0a 0a 46 6f |{hardwar|e}....Fo|
|00001e30| 72 20 6f 6c 64 65 72 20 | 6b 65 72 6e 65 6c 73 20 |r older |kernels |
|00001e40| 70 72 69 6f 72 20 74 6f | 20 5c 6c 69 6e 75 78 7e |prior to| \linux~|
|00001e50| 31 2e 31 2c 20 74 68 65 | 20 65 61 73 69 65 73 74 |1.1, the| easiest|
|00001e60| 20 77 61 79 20 74 6f 20 | 66 69 6e 64 20 6f 75 74 | way to |find out|
|00001e70| 0a 77 68 65 74 68 65 72 | 20 79 6f 75 72 20 6b 65 |.whether| your ke|
|00001e80| 72 6e 65 6c 20 68 61 73 | 20 4e 46 53 20 73 75 70 |rnel has| NFS sup|
|00001e90| 70 6f 72 74 20 65 6e 61 | 62 6c 65 64 20 69 73 20 |port ena|bled is |
|00001ea0| 74 6f 20 61 63 74 75 61 | 6c 6c 79 20 74 72 79 20 |to actua|lly try |
|00001eb0| 74 6f 0a 6d 6f 75 6e 74 | 20 61 6e 20 4e 46 53 20 |to.mount| an NFS |
|00001ec0| 66 69 6c 65 20 73 79 73 | 74 65 6d 2e 20 46 6f 72 |file sys|tem. For|
|00001ed0| 20 74 68 69 73 2c 20 79 | 6f 75 20 63 6f 75 6c 64 | this, y|ou could|
|00001ee0| 20 63 72 65 61 74 65 20 | 61 20 64 69 72 65 63 74 | create |a direct|
|00001ef0| 6f 72 79 20 62 65 6c 6f | 77 0a 5c 66 69 6c 65 7b |ory belo|w.\file{|
|00001f00| 2f 74 6d 70 7d 2c 20 61 | 6e 64 20 74 72 79 20 74 |/tmp}, a|nd try t|
|00001f10| 6f 20 6d 6f 75 6e 74 20 | 61 20 6c 6f 63 61 6c 20 |o mount |a local |
|00001f20| 64 69 72 65 63 74 6f 72 | 79 20 6f 6e 20 69 74 3a |director|y on it:|
|00001f30| 0a 0a 0a 5c 62 65 67 69 | 6e 7b 74 73 63 72 65 65 |...\begi|n{tscree|
|00001f40| 6e 7d 0a 20 5c 23 20 6d | 6b 64 69 72 20 2f 74 6d |n}. \# m|kdir /tm|
|00001f50| 70 2f 74 65 73 74 20 5c | 5c 0a 20 5c 23 20 6d 6f |p/test \|\. \# mo|
|00001f60| 75 6e 74 20 6c 6f 63 61 | 6c 68 6f 73 74 3a 2f 65 |unt loca|lhost:/e|
|00001f70| 74 63 20 2f 74 6d 70 2f | 74 65 73 74 0a 5c 65 6e |tc /tmp/|test.\en|
|00001f80| 64 7b 74 73 63 72 65 65 | 6e 7d 0a 0a 0a 49 66 20 |d{tscree|n}...If |
|00001f90| 74 68 69 73 20 6d 6f 75 | 6e 74 20 61 74 74 65 6d |this mou|nt attem|
|00001fa0| 70 74 20 66 61 69 6c 73 | 20 77 69 74 68 20 61 6e |pt fails| with an|
|00001fb0| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 20 73 | error m|essage s|
|00001fc0| 61 79 69 6e 67 20 60 60 | 5c 74 65 72 6d 7b 66 73 |aying ``|\term{fs|
|00001fd0| 0a 74 79 70 65 20 6e 66 | 73 20 6e 6f 20 73 75 70 |.type nf|s no sup|
|00001fe0| 70 6f 72 74 65 64 20 62 | 79 20 6b 65 72 6e 65 6c |ported b|y kernel|
|00001ff0| 7d 27 27 2c 20 79 6f 75 | 20 6d 75 73 74 20 6d 61 |}'', you| must ma|
|00002000| 6b 65 20 61 20 6e 65 77 | 20 6b 65 72 6e 65 6c 20 |ke a new| kernel |
|00002010| 77 69 74 68 0a 4e 46 53 | 20 65 6e 61 62 6c 65 64 |with.NFS| enabled|
|00002020| 2e 20 20 41 6e 79 20 6f | 74 68 65 72 20 65 72 72 |. Any o|ther err|
|00002030| 6f 72 20 6d 65 73 73 61 | 67 65 73 20 61 72 65 20 |or messa|ges are |
|00002040| 63 6f 6d 70 6c 65 74 65 | 6c 79 20 68 61 72 6d 6c |complete|ly harml|
|00002050| 65 73 73 2c 20 61 73 0a | 79 6f 75 20 68 61 76 65 |ess, as.|you have|
|00002060| 6e 27 74 20 63 6f 6e 66 | 69 67 75 72 65 64 20 74 |n't conf|igured t|
|00002070| 68 65 20 4e 46 53 20 64 | 61 65 6d 6f 6e 73 20 6f |he NFS d|aemons o|
|00002080| 6e 20 79 6f 75 72 20 68 | 6f 73 74 20 79 65 74 2e |n your h|ost yet.|
|00002090| 0a 0a 0a 0a 0a 5c 73 65 | 63 74 69 6f 6e 7b 4d 6f |.....\se|ction{Mo|
|000020a0| 75 6e 74 69 6e 67 20 61 | 6e 20 4e 46 53 20 56 6f |unting a|n NFS Vo|
|000020b0| 6c 75 6d 65 7d 0a 25 25 | 25 25 25 25 25 25 25 25 |lume}.%%|%%%%%%%%|
|000020c0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000020d0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000020e0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000020f0| 25 25 25 25 25 25 25 0a | 5c 6c 61 62 65 6c 7b 6e |%%%%%%%.|\label{n|
|00002100| 66 73 2e 6d 6f 75 6e 74 | 64 7d 0a 5c 69 6e 64 65 |fs.mount|d}.\inde|
|00002110| 78 7b 72 65 6d 6f 74 65 | 21 66 69 6c 65 20 73 79 |x{remote|!file sy|
|00002120| 73 74 65 6d 7d 0a 5c 69 | 6e 64 65 78 7b 6d 6f 75 |stem}.\i|ndex{mou|
|00002130| 6e 74 69 6e 67 21 61 6e | 20 4e 46 53 20 76 6f 6c |nting!an| NFS vol|
|00002140| 75 6d 65 7d 0a 5c 69 6e | 64 65 78 7b 61 63 65 73 |ume}.\in|dex{aces|
|00002150| 73 69 6e 67 21 72 65 6d | 6f 74 65 20 66 69 6c 65 |sing!rem|ote file|
|00002160| 73 7d 0a 5c 69 6e 64 65 | 78 7b 4e 46 53 21 6d 6f |s}.\inde|x{NFS!mo|
|00002170| 75 6e 74 69 6e 67 20 61 | 20 76 6f 6c 75 6d 65 7d |unting a| volume}|
|00002180| 0a 0a 4e 46 53 20 76 6f | 6c 75 6d 65 73 5c 66 6f |..NFS vo|lumes\fo|
|00002190| 6f 74 6e 6f 74 65 7b 0a | 20 4f 6e 65 20 64 6f 65 |otnote{.| One doe|
|000021a0| 73 6e 27 74 20 73 61 79 | 20 66 69 6c 65 20 73 79 |sn't say| file sy|
|000021b0| 73 74 65 6d 2c 20 62 65 | 63 61 75 73 65 20 74 68 |stem, be|cause th|
|000021c0| 65 73 65 20 61 72 65 20 | 6e 6f 74 20 70 72 6f 70 |ese are |not prop|
|000021d0| 65 72 20 66 69 6c 65 20 | 73 79 73 74 65 6d 73 2e |er file |systems.|
|000021e0| 0a 7d 20 61 72 65 20 6d | 6f 75 6e 74 65 64 20 76 |.} are m|ounted v|
|000021f0| 65 72 79 20 6d 75 63 68 | 20 74 68 65 20 77 61 79 |ery much| the way|
|00002200| 20 75 73 75 61 6c 20 66 | 69 6c 65 20 73 79 73 74 | usual f|ile syst|
|00002210| 65 6d 73 20 61 72 65 20 | 6d 6f 75 6e 74 65 64 2e |ems are |mounted.|
|00002220| 20 59 6f 75 20 69 6e 76 | 6f 6b 65 0a 5c 70 72 6f | You inv|oke.\pro|
|00002230| 67 7b 6d 6f 75 6e 74 7d | 20 75 73 69 6e 67 20 74 |g{mount}| using t|
|00002240| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 73 79 6e |he follo|wing syn|
|00002250| 74 61 78 3a 0a 0a 0a 5c | 62 65 67 69 6e 7b 74 73 |tax:...\|begin{ts|
|00002260| 63 72 65 65 6e 7d 0a 5c | 23 20 6d 6f 75 6e 74 20 |creen}.\|# mount |
|00002270| 2d 74 20 6e 66 73 20 5c | 76 61 72 7b 6e 66 73 5c |-t nfs \|var{nfs\|
|00002280| 5f 76 6f 6c 75 6d 65 20 | 6c 6f 63 61 6c 5c 5f 64 |_volume |local\_d|
|00002290| 69 72 20 6f 70 74 69 6f | 6e 73 7d 20 0a 5c 65 6e |ir optio|ns} .\en|
|000022a0| 64 7b 74 73 63 72 65 65 | 6e 7d 0a 0a 0a 5c 76 61 |d{tscree|n}...\va|
|000022b0| 72 7b 6e 66 73 5c 5f 76 | 6f 6c 75 6d 65 7d 20 69 |r{nfs\_v|olume} i|
|000022c0| 73 20 67 69 76 65 6e 20 | 61 73 20 5c 76 61 72 7b |s given |as \var{|
|000022d0| 72 65 6d 6f 74 65 5c 5f | 68 6f 73 74 7d 5c 66 69 |remote\_|host}\fi|
|000022e0| 6c 65 7b 3a 7d 5c 76 61 | 72 7b 72 65 6d 6f 74 65 |le{:}\va|r{remote|
|000022f0| 5c 5f 64 69 72 7d 2e 0a | 53 69 6e 63 65 20 74 68 |\_dir}..|Since th|
|00002300| 69 73 20 6e 6f 74 61 74 | 69 6f 6e 20 69 73 20 75 |is notat|ion is u|
|00002310| 6e 69 71 75 65 20 74 6f | 20 4e 46 53 20 66 69 6c |nique to| NFS fil|
|00002320| 65 20 73 79 73 74 65 6d | 73 2c 20 79 6f 75 20 63 |e system|s, you c|
|00002330| 61 6e 20 6c 65 61 76 65 | 20 6f 75 74 0a 74 68 65 |an leave| out.the|
|00002340| 20 5c 6f 70 74 69 6f 6e | 7b 2d 74 20 6e 66 73 7d | \option|{-t nfs}|
|00002350| 20 6f 70 74 69 6f 6e 2e | 0a 0a 0a 5c 69 6e 64 65 | option.|...\inde|
|00002360| 78 7b 66 73 74 61 62 40 | 5c 66 69 6c 65 7b 66 73 |x{fstab@|\file{fs|
|00002370| 74 61 62 7d 7d 0a 5c 69 | 6e 64 65 78 7b 66 73 74 |tab}}.\i|ndex{fst|
|00002380| 61 62 40 5c 66 69 6c 65 | 7b 66 73 74 61 62 7d 7d |ab@\file|{fstab}}|
|00002390| 0a 54 68 65 72 65 20 61 | 72 65 20 61 20 6e 75 6d |.There a|re a num|
|000023a0| 62 65 72 20 6f 66 20 61 | 64 64 69 74 69 6f 6e 61 |ber of a|dditiona|
|000023b0| 6c 20 6f 70 74 69 6f 6e | 73 20 74 68 61 74 20 79 |l option|s that y|
|000023c0| 6f 75 20 6d 61 79 20 73 | 70 65 63 69 66 79 20 74 |ou may s|pecify t|
|000023d0| 6f 0a 5c 70 72 6f 67 7b | 6d 6f 75 6e 74 7d 20 75 |o.\prog{|mount} u|
|000023e0| 70 6f 6e 20 6d 6f 75 6e | 74 69 6e 67 20 61 6e 20 |pon moun|ting an |
|000023f0| 4e 46 53 20 76 6f 6c 75 | 6d 65 2e 20 54 68 65 73 |NFS volu|me. Thes|
|00002400| 65 20 6d 61 79 20 65 69 | 74 68 65 72 20 62 65 20 |e may ei|ther be |
|00002410| 67 69 76 65 6e 0a 66 6f | 6c 6c 6f 77 69 6e 67 20 |given.fo|llowing |
|00002420| 74 68 65 20 5c 6f 70 74 | 69 6f 6e 7b 2d 6f 7d 20 |the \opt|ion{-o} |
|00002430| 73 77 69 74 63 68 20 6f | 6e 20 74 68 65 20 63 6f |switch o|n the co|
|00002440| 6d 6d 61 6e 64 20 6c 69 | 6e 65 2c 20 6f 72 20 69 |mmand li|ne, or i|
|00002450| 6e 20 74 68 65 20 6f 70 | 74 69 6f 6e 73 0a 66 69 |n the op|tions.fi|
|00002460| 65 6c 64 20 6f 66 20 74 | 68 65 20 5c 66 69 6c 65 |eld of t|he \file|
|00002470| 7b 2f 65 74 63 2f 66 73 | 74 61 62 7d 20 65 6e 74 |{/etc/fs|tab} ent|
|00002480| 72 79 20 66 6f 72 20 74 | 68 65 20 76 6f 6c 75 6d |ry for t|he volum|
|00002490| 65 2e 20 49 6e 20 62 6f | 74 68 20 63 61 73 65 73 |e. In bo|th cases|
|000024a0| 2c 0a 6d 75 6c 74 69 70 | 6c 65 20 6f 70 74 69 6f |,.multip|le optio|
|000024b0| 6e 73 20 61 72 65 20 73 | 65 70 61 72 61 74 65 64 |ns are s|eparated|
|000024c0| 20 66 72 6f 6d 20 65 61 | 63 68 20 6f 74 68 65 72 | from ea|ch other|
|000024d0| 20 62 79 20 63 6f 6d 6d | 61 73 2e 20 4f 70 74 69 | by comm|as. Opti|
|000024e0| 6f 6e 73 0a 73 70 65 63 | 69 66 69 65 64 20 6f 6e |ons.spec|ified on|
|000024f0| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e | the com|mand lin|
|00002500| 65 20 61 6c 77 61 79 73 | 20 6f 76 65 72 72 69 64 |e always| overrid|
|00002510| 65 20 74 68 6f 73 65 20 | 67 69 76 65 6e 20 69 6e |e those |given in|
|00002520| 20 74 68 65 0a 5c 66 69 | 6c 65 7b 66 73 74 61 62 | the.\fi|le{fstab|
|00002530| 7d 20 66 69 6c 65 2e 0a | 0a 0a 41 20 73 61 6d 70 |} file..|..A samp|
|00002540| 6c 65 20 65 6e 74 72 79 | 20 69 6e 20 5c 66 69 6c |le entry| in \fil|
|00002550| 65 7b 2f 65 74 63 2f 66 | 73 74 61 62 7d 20 6d 69 |e{/etc/f|stab} mi|
|00002560| 67 68 74 20 62 65 0a 0a | 5c 62 65 67 69 6e 7b 74 |ght be..|\begin{t|
|00002570| 73 63 72 65 65 6e 7d 0a | 5c 62 65 67 69 6e 7b 76 |screen}.|\begin{v|
|00002580| 65 72 62 61 74 69 6d 7d | 0a 23 20 76 6f 6c 75 6d |erbatim}|.# volum|
|00002590| 65 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6d |e | m|
|000025a0| 6f 75 6e 74 20 70 6f 69 | 6e 74 20 20 20 20 20 20 |ount poi|nt |
|000025b0| 20 74 79 70 65 20 20 6f | 70 74 69 6f 6e 73 0a 6e | type o|ptions.n|
|000025c0| 65 77 73 3a 2f 75 73 72 | 2f 73 70 6f 6f 6c 2f 6e |ews:/usr|/spool/n|
|000025d0| 65 77 73 20 20 2f 75 73 | 72 2f 73 70 6f 6f 6c 2f |ews /us|r/spool/|
|000025e0| 6e 65 77 73 20 20 20 6e | 66 73 20 20 20 74 69 6d |news n|fs tim|
|000025f0| 65 6f 3d 31 34 2c 69 6e | 74 72 0a 5c 65 6e 64 7b |eo=14,in|tr.\end{|
|00002600| 76 65 72 62 61 74 69 6d | 7d 0a 5c 65 6e 64 7b 74 |verbatim|}.\end{t|
|00002610| 73 63 72 65 65 6e 7d 0a | 0a 0a 54 68 69 73 20 76 |screen}.|..This v|
|00002620| 6f 6c 75 6d 65 20 6d 61 | 79 20 74 68 65 6e 20 62 |olume ma|y then b|
|00002630| 65 20 6d 6f 75 6e 74 65 | 64 20 75 73 69 6e 67 0a |e mounte|d using.|
|00002640| 0a 5c 62 65 67 69 6e 7b | 74 73 63 72 65 65 6e 7d |.\begin{|tscreen}|
|00002650| 0a 5c 23 20 6d 6f 75 6e | 74 20 6e 65 77 73 3a 2f |.\# moun|t news:/|
|00002660| 75 73 72 2f 73 70 6f 6f | 6c 2f 6e 65 77 73 0a 5c |usr/spoo|l/news.\|
|00002670| 65 6e 64 7b 74 73 63 72 | 65 65 6e 7d 0a 0a 49 6e |end{tscr|een}..In|
|00002680| 20 74 68 65 20 61 62 73 | 65 6e 63 65 20 6f 66 20 | the abs|ence of |
|00002690| 61 20 5c 66 69 6c 65 7b | 66 73 74 61 62 7d 20 65 |a \file{|fstab} e|
|000026a0| 6e 74 72 79 2c 20 4e 46 | 53 20 5c 70 72 6f 67 7b |ntry, NF|S \prog{|
|000026b0| 6d 6f 75 6e 74 7d 20 69 | 6e 76 6f 63 61 74 69 6f |mount} i|nvocatio|
|000026c0| 6e 73 0a 6c 6f 6f 6b 20 | 61 20 6c 6f 74 20 75 67 |ns.look |a lot ug|
|000026d0| 6c 69 65 72 2e 20 46 6f | 72 20 69 6e 73 74 61 6e |lier. Fo|r instan|
|000026e0| 63 65 2c 20 73 75 70 70 | 6f 73 65 20 79 6f 75 20 |ce, supp|ose you |
|000026f0| 6d 6f 75 6e 74 20 79 6f | 75 72 20 75 73 65 72 73 |mount yo|ur users|
|00002700| 27 20 68 6f 6d 65 0a 64 | 69 72 65 63 74 6f 72 69 |' home.d|irectori|
|00002710| 65 73 20 66 72 6f 6d 20 | 61 20 6d 61 63 68 69 6e |es from |a machin|
|00002720| 65 20 6e 61 6d 65 64 20 | 5c 68 6f 73 74 7b 6d 6f |e named |\host{mo|
|00002730| 6f 6e 73 68 6f 74 7d 2c | 20 77 68 69 63 68 20 75 |onshot},| which u|
|00002740| 73 65 73 20 61 20 64 65 | 66 61 75 6c 74 0a 62 6c |ses a de|fault.bl|
|00002750| 6f 63 6b 20 73 69 7a 65 | 20 6f 66 20 34 4b 20 66 |ock size| of 4K f|
|00002760| 6f 72 20 72 65 61 64 2f | 77 72 69 74 65 20 6f 70 |or read/|write op|
|00002770| 65 72 61 74 69 6f 6e 73 | 2e 20 59 6f 75 20 6d 69 |erations|. You mi|
|00002780| 67 68 74 20 64 65 63 72 | 65 61 73 65 0a 62 6c 6f |ght decr|ease.blo|
|00002790| 63 6b 20 73 69 7a 65 20 | 74 6f 20 32 4b 20 74 6f |ck size |to 2K to|
|000027a0| 20 73 75 69 74 20 5c 6c | 69 6e 75 78 27 20 64 61 | suit \l|inux' da|
|000027b0| 74 61 67 72 61 6d 20 73 | 69 7a 65 20 6c 69 6d 69 |tagram s|ize limi|
|000027c0| 74 20 62 79 20 69 73 73 | 75 69 6e 67 0a 0a 0a 5c |t by iss|uing...\|
|000027d0| 62 65 67 69 6e 7b 74 73 | 63 72 65 65 6e 7d 0a 5c |begin{ts|creen}.\|
|000027e0| 23 20 6d 6f 75 6e 74 20 | 6d 6f 6f 6e 73 68 6f 74 |# mount |moonshot|
|000027f0| 3a 2f 68 6f 6d 65 20 2f | 68 6f 6d 65 20 2d 6f 20 |:/home /|home -o |
|00002800| 72 73 69 7a 65 3d 32 30 | 34 38 2c 77 73 69 7a 65 |rsize=20|48,wsize|
|00002810| 3d 32 30 34 38 0a 5c 65 | 6e 64 7b 74 73 63 72 65 |=2048.\e|nd{tscre|
|00002820| 65 6e 7d 0a 0a 0a 5c 69 | 6e 64 65 78 7b 4e 46 53 |en}...\i|ndex{NFS|
|00002830| 21 72 65 73 74 72 69 63 | 74 69 6e 67 20 62 6c 6f |!restric|ting blo|
|00002840| 63 6b 20 73 69 7a 65 7d | 0a 54 68 65 20 6c 69 73 |ck size}|.The lis|
|00002850| 74 20 6f 66 20 61 6c 6c | 20 76 61 6c 69 64 20 6f |t of all| valid o|
|00002860| 70 74 69 6f 6e 73 20 69 | 73 20 64 65 73 63 72 69 |ptions i|s descri|
|00002870| 62 65 64 20 69 6e 20 69 | 74 73 20 65 6e 74 69 72 |bed in i|ts entir|
|00002880| 65 74 79 20 69 6e 20 74 | 68 65 0a 5c 66 69 6c 65 |ety in t|he.\file|
|00002890| 7b 6e 66 73 28 35 29 7d | 20 6d 61 6e 75 61 6c 20 |{nfs(5)}| manual |
|000028a0| 70 61 67 65 20 74 68 61 | 74 20 63 6f 6d 65 73 20 |page tha|t comes |
|000028b0| 77 69 74 68 20 52 69 63 | 6b 20 53 6c 61 64 6b 65 |with Ric|k Sladke|
|000028c0| 79 27 73 20 4e 46 53 2d | 61 77 61 72 65 0a 5c 70 |y's NFS-|aware.\p|
|000028d0| 72 6f 67 7b 6d 6f 75 6e | 74 7d 20 74 6f 6f 6c 20 |rog{moun|t} tool |
|000028e0| 77 68 69 63 68 20 63 61 | 6e 20 62 65 20 66 6f 75 |which ca|n be fou|
|000028f0| 6e 64 20 69 6e 20 52 69 | 6b 20 46 61 69 74 68 27 |nd in Ri|k Faith'|
|00002900| 73 20 5c 66 69 6c 65 7b | 75 74 69 6c 2d 6c 69 6e |s \file{|util-lin|
|00002910| 75 78 7d 0a 70 61 63 6b | 61 67 65 29 2e 20 20 54 |ux}.pack|age). T|
|00002920| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 69 73 20 |he follo|wing is |
|00002930| 61 6e 20 69 6e 63 6f 6d | 70 6c 65 74 65 20 6c 69 |an incom|plete li|
|00002940| 73 74 20 6f 66 20 74 68 | 6f 73 65 20 79 6f 75 20 |st of th|ose you |
|00002950| 77 6f 75 6c 64 0a 70 72 | 6f 62 61 62 6c 79 20 77 |would.pr|obably w|
|00002960| 61 6e 74 20 74 6f 20 75 | 73 65 3a 0a 0a 5c 62 65 |ant to u|se:..\be|
|00002970| 67 69 6e 7b 64 69 73 70 | 69 74 65 6d 73 7d 0a 20 |gin{disp|items}. |
|00002980| 5c 64 69 74 65 6d 5b 5c | 6b 65 79 77 6f 72 64 7b |\ditem[\|keyword{|
|00002990| 72 73 69 7a 65 3d 7d 5c | 76 61 72 7b 6e 7d 20 61 |rsize=}\|var{n} a|
|000029a0| 6e 64 20 5c 6b 65 79 77 | 6f 72 64 7b 77 73 69 7a |nd \keyw|ord{wsiz|
|000029b0| 65 3d 7d 5c 76 61 72 7b | 6e 7d 5d 0a 20 20 20 20 |e=}\var{|n}]. |
|000029c0| 20 20 20 20 54 68 65 73 | 65 20 73 70 65 63 69 66 | Thes|e specif|
|000029d0| 79 20 74 68 65 20 64 61 | 74 61 67 72 61 6d 20 73 |y the da|tagram s|
|000029e0| 69 7a 65 20 75 73 65 64 | 20 62 79 20 74 68 65 20 |ize used| by the |
|000029f0| 4e 46 53 20 63 6c 69 65 | 6e 74 73 20 6f 6e 0a 20 |NFS clie|nts on. |
|00002a00| 20 20 20 20 20 20 20 72 | 65 61 64 20 61 6e 64 20 | r|ead and |
|00002a10| 77 72 69 74 65 20 72 65 | 71 75 65 73 74 73 2c 20 |write re|quests, |
|00002a20| 72 65 73 70 65 63 74 69 | 76 65 6c 79 2e 20 54 68 |respecti|vely. Th|
|00002a30| 65 79 20 63 75 72 72 65 | 6e 74 6c 79 20 64 65 66 |ey curre|ntly def|
|00002a40| 61 75 6c 74 0a 20 20 20 | 20 20 20 20 20 74 6f 20 |ault. | to |
|00002a50| 31 30 32 34 20 62 79 74 | 65 73 2c 20 64 75 65 20 |1024 byt|es, due |
|00002a60| 74 6f 20 74 68 65 20 6c | 69 6d 69 74 20 6f 6e 20 |to the l|imit on |
|00002a70| 55 44 50 20 64 61 74 61 | 67 72 61 6d 20 73 69 7a |UDP data|gram siz|
|00002a80| 65 20 64 65 73 63 72 69 | 62 65 64 0a 20 20 20 20 |e descri|bed. |
|00002a90| 20 20 20 20 61 62 6f 76 | 65 2e 0a 0a 20 5c 64 69 | abov|e... \di|
|00002aa0| 74 65 6d 5b 5c 6b 65 79 | 77 6f 72 64 7b 74 69 6d |tem[\key|word{tim|
|00002ab0| 65 6f 3d 7d 5c 76 61 72 | 7b 6e 7d 5d 0a 20 20 20 |eo=}\var|{n}]. |
|00002ac0| 20 20 20 20 20 54 68 69 | 73 20 73 65 74 73 20 74 | Thi|s sets t|
|00002ad0| 68 65 20 74 69 6d 65 20 | 28 69 6e 20 74 65 6e 74 |he time |(in tent|
|00002ae0| 68 73 20 6f 66 20 61 20 | 73 65 63 6f 6e 64 29 20 |hs of a |second) |
|00002af0| 74 68 65 20 4e 46 53 20 | 63 6c 69 65 6e 74 20 77 |the NFS |client w|
|00002b00| 69 6c 6c 0a 20 20 20 20 | 20 20 20 20 77 61 69 74 |ill. | wait|
|00002b10| 20 66 6f 72 20 61 20 72 | 65 71 75 65 73 74 20 74 | for a r|equest t|
|00002b20| 6f 20 63 6f 6d 70 6c 65 | 74 65 2e 20 54 68 65 20 |o comple|te. The |
|00002b30| 64 65 66 61 75 6c 74 20 | 76 61 6c 75 65 73 20 69 |default |values i|
|00002b40| 73 20 30 2e 37 20 73 65 | 63 6f 6e 64 73 2e 0a 0a |s 0.7 se|conds...|
|00002b50| 20 5c 64 69 74 65 6d 5b | 5c 6b 65 79 77 6f 72 64 | \ditem[|\keyword|
|00002b60| 7b 68 61 72 64 7d 5d 0a | 20 20 20 20 20 20 20 20 |{hard}].| |
|00002b70| 45 78 70 6c 69 63 69 74 | 6c 79 20 6d 61 72 6b 20 |Explicit|ly mark |
|00002b80| 74 68 69 73 20 76 6f 6c | 75 6d 65 20 61 73 20 68 |this vol|ume as h|
|00002b90| 61 72 64 2d 6d 6f 75 6e | 74 65 64 2e 20 54 68 69 |ard-moun|ted. Thi|
|00002ba0| 73 20 69 73 20 6f 6e 0a | 20 20 20 20 20 20 20 20 |s is on.| |
|00002bb0| 62 79 20 64 65 66 61 75 | 6c 74 2e 0a 0a 20 5c 64 |by defau|lt... \d|
|00002bc0| 69 74 65 6d 5b 5c 6b 65 | 79 77 6f 72 64 7b 73 6f |item[\ke|yword{so|
|00002bd0| 66 74 7d 5d 0a 20 20 20 | 20 20 20 20 20 53 6f 66 |ft}]. | Sof|
|00002be0| 74 2d 6d 6f 75 6e 74 20 | 74 68 65 20 64 72 69 76 |t-mount |the driv|
|00002bf0| 65 72 20 28 61 73 20 6f | 70 70 6f 73 65 64 20 74 |er (as o|pposed t|
|00002c00| 6f 20 68 61 72 64 2d 6d | 6f 75 6e 74 29 2e 0a 0a |o hard-m|ount)...|
|00002c10| 20 5c 64 69 74 65 6d 5b | 5c 6b 65 79 77 6f 72 64 | \ditem[|\keyword|
|00002c20| 7b 69 6e 74 72 7d 5d 0a | 20 20 20 20 20 20 20 20 |{intr}].| |
|00002c30| 41 6c 6c 6f 77 20 73 69 | 67 6e 61 6c 73 20 74 6f |Allow si|gnals to|
|00002c40| 20 69 6e 74 65 72 72 75 | 70 74 20 61 6e 20 4e 46 | interru|pt an NF|
|00002c50| 53 20 63 61 6c 6c 2e 20 | 55 73 65 66 75 6c 20 66 |S call. |Useful f|
|00002c60| 6f 72 20 61 62 6f 72 74 | 69 6e 67 0a 20 20 20 20 |or abort|ing. |
|00002c70| 20 20 20 20 77 68 65 6e | 20 74 68 65 20 73 65 72 | when| the ser|
|00002c80| 76 65 72 20 64 6f 65 73 | 6e 27 74 20 72 65 73 70 |ver does|n't resp|
|00002c90| 6f 6e 64 2e 0a 0a 5c 65 | 6e 64 7b 64 69 73 70 69 |ond...\e|nd{dispi|
|00002ca0| 74 65 6d 73 7d 0a 0a 0a | 0a 45 78 63 65 70 74 20 |tems}...|.Except |
|00002cb0| 66 6f 72 20 5c 6b 65 79 | 77 6f 72 64 7b 72 73 69 |for \key|word{rsi|
|00002cc0| 7a 65 7d 20 61 6e 64 20 | 5c 6b 65 79 77 6f 72 64 |ze} and |\keyword|
|00002cd0| 7b 77 73 69 7a 65 7d 2c | 20 61 6c 6c 20 6f 66 20 |{wsize},| all of |
|00002ce0| 74 68 65 73 65 20 6f 70 | 74 69 6f 6e 73 0a 61 70 |these op|tions.ap|
|00002cf0| 70 6c 79 20 74 6f 20 74 | 68 65 20 63 6c 69 65 6e |ply to t|he clien|
|00002d00| 74 27 73 20 62 65 68 61 | 76 69 6f 72 20 69 66 20 |t's beha|vior if |
|00002d10| 74 68 65 20 73 65 72 76 | 65 72 20 73 68 6f 75 6c |the serv|er shoul|
|00002d20| 64 20 62 65 63 6f 6d 65 | 20 69 6e 61 63 63 65 73 |d become| inacces|
|00002d30| 73 69 62 6c 65 0a 74 65 | 6d 70 6f 72 61 72 69 6c |sible.te|mporaril|
|00002d40| 79 2e 20 54 68 65 79 20 | 70 6c 61 79 20 74 6f 67 |y. They |play tog|
|00002d50| 65 74 68 65 72 20 69 6e | 20 74 68 65 20 66 6f 6c |ether in| the fol|
|00002d60| 6c 6f 77 69 6e 67 20 77 | 61 79 3a 20 77 68 65 6e |lowing w|ay: when|
|00002d70| 65 76 65 72 20 74 68 65 | 0a 63 6c 69 65 6e 74 20 |ever the|.client |
|00002d80| 73 65 6e 64 73 20 61 20 | 72 65 71 75 65 73 74 20 |sends a |request |
|00002d90| 74 6f 20 74 68 65 20 4e | 46 53 20 73 65 72 76 65 |to the N|FS serve|
|00002da0| 72 2c 20 69 74 20 65 78 | 70 65 63 74 73 20 74 68 |r, it ex|pects th|
|00002db0| 65 20 6f 70 65 72 61 74 | 69 6f 6e 20 74 6f 0a 68 |e operat|ion to.h|
|00002dc0| 61 76 65 20 66 69 6e 69 | 73 68 65 64 20 61 66 74 |ave fini|shed aft|
|00002dd0| 65 72 20 61 20 67 69 76 | 65 6e 20 69 6e 74 65 72 |er a giv|en inter|
|00002de0| 76 61 6c 20 28 73 70 65 | 63 69 66 69 65 64 20 69 |val (spe|cified i|
|00002df0| 6e 20 74 68 65 20 5c 6b | 65 79 77 6f 72 64 7b 74 |n the \k|eyword{t|
|00002e00| 69 6d 65 6f 75 74 7d 0a | 6f 70 74 69 6f 6e 29 2e |imeout}.|option).|
|00002e10| 20 49 66 20 6e 6f 20 63 | 6f 6e 66 69 72 6d 61 74 | If no c|onfirmat|
|00002e20| 69 6f 6e 20 69 73 20 72 | 65 63 65 69 76 65 64 20 |ion is r|eceived |
|00002e30| 77 69 74 68 69 6e 20 74 | 68 69 73 20 74 69 6d 65 |within t|his time|
|00002e40| 2c 20 61 20 73 6f 2d 63 | 61 6c 6c 65 64 0a 5c 65 |, a so-c|alled.\e|
|00002e50| 6d 70 68 7b 6d 69 6e 6f | 72 20 74 69 6d 65 6f 75 |mph{mino|r timeou|
|00002e60| 74 7d 20 6f 63 63 75 72 | 73 2c 20 61 6e 64 20 74 |t} occur|s, and t|
|00002e70| 68 65 20 6f 70 65 72 61 | 74 69 6f 6e 20 69 73 20 |he opera|tion is |
|00002e80| 72 65 74 72 69 65 64 20 | 77 69 74 68 20 74 68 65 |retried |with the|
|00002e90| 0a 74 69 6d 65 6f 75 74 | 20 69 6e 74 65 72 76 61 |.timeout| interva|
|00002ea0| 6c 20 64 6f 75 62 6c 65 | 64 2e 20 41 66 74 65 72 |l double|d. After|
|00002eb0| 20 72 65 61 63 68 69 6e | 67 20 61 20 6d 61 78 69 | reachin|g a maxi|
|00002ec0| 6d 75 6d 20 74 69 6d 65 | 6f 75 74 20 6f 66 20 36 |mum time|out of 6|
|00002ed0| 30 0a 73 65 63 6f 6e 64 | 73 2c 20 61 20 5c 65 6d |0.second|s, a \em|
|00002ee0| 70 68 7b 6d 61 6a 6f 72 | 20 74 69 6d 65 6f 75 74 |ph{major| timeout|
|00002ef0| 7d 20 6f 63 63 75 72 73 | 2e 0a 0a 0a 5c 69 6e 64 |} occurs|....\ind|
|00002f00| 65 78 7b 4e 46 53 21 68 | 61 72 64 2d 6d 6f 75 6e |ex{NFS!h|ard-moun|
|00002f10| 74 69 6e 67 20 76 73 2e | 20 73 6f 66 74 2d 6d 6f |ting vs.| soft-mo|
|00002f20| 75 6e 74 69 6e 67 7d 0a | 5c 69 6e 64 65 78 7b 4e |unting}.|\index{N|
|00002f30| 46 53 21 74 69 6d 65 6f | 75 74 7d 0a 42 79 20 64 |FS!timeo|ut}.By d|
|00002f40| 65 66 61 75 6c 74 2c 20 | 61 20 6d 61 6a 6f 72 20 |efault, |a major |
|00002f50| 74 69 6d 65 6f 75 74 20 | 77 69 6c 6c 20 63 61 75 |timeout |will cau|
|00002f60| 73 65 20 74 68 65 20 63 | 6c 69 65 6e 74 20 74 6f |se the c|lient to|
|00002f70| 20 70 72 69 6e 74 20 61 | 20 6d 65 73 73 61 67 65 | print a| message|
|00002f80| 20 74 6f 0a 74 68 65 20 | 63 6f 6e 73 6f 6c 65 20 | to.the |console |
|00002f90| 61 6e 64 20 73 74 61 72 | 74 20 61 6c 6c 20 6f 76 |and star|t all ov|
|00002fa0| 65 72 20 61 67 61 69 6e | 2c 20 74 68 69 73 20 74 |er again|, this t|
|00002fb0| 69 6d 65 20 77 69 74 68 | 20 61 6e 20 69 6e 69 74 |ime with| an init|
|00002fc0| 69 61 6c 20 74 69 6d 65 | 6f 75 74 0a 69 6e 74 65 |ial time|out.inte|
|00002fd0| 72 76 61 6c 20 74 77 69 | 63 65 20 74 68 61 74 20 |rval twi|ce that |
|00002fe0| 6f 66 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 20 |of the p|revious |
|00002ff0| 63 61 73 63 61 64 65 2e | 20 50 6f 74 65 6e 74 69 |cascade.| Potenti|
|00003000| 61 6c 6c 79 2c 20 74 68 | 69 73 20 6d 61 79 20 67 |ally, th|is may g|
|00003010| 6f 20 6f 6e 0a 66 6f 72 | 65 76 65 72 2e 20 56 6f |o on.for|ever. Vo|
|00003020| 6c 75 6d 65 73 20 74 68 | 61 74 20 73 74 75 62 62 |lumes th|at stubb|
|00003030| 6f 72 6e 6c 79 20 72 65 | 74 72 79 20 61 6e 20 6f |ornly re|try an o|
|00003040| 70 65 72 61 74 69 6f 6e | 20 75 6e 74 69 6c 20 74 |peration| until t|
|00003050| 68 65 20 73 65 72 76 65 | 72 0a 62 65 63 6f 6d 65 |he serve|r.become|
|00003060| 73 20 61 76 61 69 6c 61 | 62 6c 65 20 61 67 61 69 |s availa|ble agai|
|00003070| 6e 20 61 72 65 20 63 61 | 6c 6c 65 64 20 5c 65 6d |n are ca|lled \em|
|00003080| 70 68 7b 68 61 72 64 2d | 6d 6f 75 6e 74 65 64 7d |ph{hard-|mounted}|
|00003090| 2e 20 54 68 65 20 6f 70 | 70 6f 73 69 74 65 0a 76 |. The op|posite.v|
|000030a0| 61 72 69 65 74 79 2c 20 | 5c 65 6d 70 68 7b 73 6f |ariety, |\emph{so|
|000030b0| 66 74 2d 6d 6f 75 6e 74 | 65 64 7d 20 76 6f 6c 75 |ft-mount|ed} volu|
|000030c0| 6d 65 73 20 67 65 72 65 | 6e 61 74 65 73 20 61 6e |mes gere|nates an|
|000030d0| 20 49 2f 4f 20 65 72 72 | 6f 72 20 66 6f 72 20 74 | I/O err|or for t|
|000030e0| 68 65 0a 63 61 6c 6c 69 | 6e 67 20 70 72 6f 63 65 |he.calli|ng proce|
|000030f0| 73 73 20 77 68 65 6e 65 | 76 65 72 20 61 20 6d 61 |ss whene|ver a ma|
|00003100| 6a 6f 72 20 74 69 6d 65 | 6f 75 74 20 6f 63 63 75 |jor time|out occu|
|00003110| 72 73 2e 20 42 65 63 61 | 75 73 65 20 6f 66 20 74 |rs. Beca|use of t|
|00003120| 68 65 0a 77 72 69 74 65 | 2d 62 65 68 69 6e 64 20 |he.write|-behind |
|00003130| 69 6e 74 72 6f 64 75 63 | 65 64 20 62 79 20 74 68 |introduc|ed by th|
|00003140| 65 20 62 75 66 66 65 72 | 20 63 61 63 68 65 2c 20 |e buffer| cache, |
|00003150| 74 68 69 73 20 65 72 72 | 6f 72 20 63 6f 6e 64 69 |this err|or condi|
|00003160| 74 69 6f 6e 20 69 73 20 | 6e 6f 74 0a 70 72 6f 70 |tion is |not.prop|
|00003170| 61 67 61 74 65 64 20 74 | 6f 20 74 68 65 20 70 72 |agated t|o the pr|
|00003180| 6f 63 65 73 73 20 69 74 | 73 65 6c 66 20 62 65 66 |ocess it|self bef|
|00003190| 6f 72 65 20 69 74 20 63 | 61 6c 6c 73 20 74 68 65 |ore it c|alls the|
|000031a0| 20 5c 66 75 6e 63 7b 77 | 72 69 74 65 28 32 29 7d | \func{w|rite(2)}|
|000031b0| 0a 66 75 6e 63 74 69 6f | 6e 20 74 68 65 20 6e 65 |.functio|n the ne|
|000031c0| 78 74 20 74 69 6d 65 2c | 20 73 6f 20 61 20 70 72 |xt time,| so a pr|
|000031d0| 6f 67 72 61 6d 20 63 61 | 6e 20 6e 65 76 65 72 20 |ogram ca|n never |
|000031e0| 62 65 20 73 75 72 65 20 | 74 68 61 74 20 61 20 77 |be sure |that a w|
|000031f0| 72 69 74 65 0a 6f 70 65 | 72 61 74 69 6f 6e 20 74 |rite.ope|ration t|
|00003200| 6f 20 61 20 73 6f 66 74 | 2d 6d 6f 75 6e 74 65 64 |o a soft|-mounted|
|00003210| 20 76 6f 6c 75 6d 65 20 | 68 61 73 20 73 75 63 63 | volume |has succ|
|00003220| 65 64 65 64 20 61 74 20 | 61 6c 6c 2e 0a 0a 0a 57 |eded at |all....W|
|00003230| 68 65 74 68 65 72 20 79 | 6f 75 20 68 61 72 64 2d |hether y|ou hard-|
|00003240| 20 6f 72 20 73 6f 66 74 | 2d 6d 6f 75 6e 74 20 61 | or soft|-mount a|
|00003250| 20 76 6f 6c 75 6d 65 20 | 69 73 20 6e 6f 74 20 73 | volume |is not s|
|00003260| 69 6d 70 6c 79 20 61 20 | 71 75 65 73 74 69 6f 6e |imply a |question|
|00003270| 20 6f 66 0a 74 61 73 74 | 65 2c 20 62 75 74 20 61 | of.tast|e, but a|
|00003280| 6c 73 6f 20 68 61 73 20 | 74 6f 20 64 6f 20 77 69 |lso has |to do wi|
|00003290| 74 68 20 77 68 61 74 20 | 73 6f 72 74 20 6f 66 20 |th what |sort of |
|000032a0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 79 6f 75 20 |informat|ion you |
|000032b0| 77 61 6e 74 20 74 6f 0a | 61 63 63 65 73 73 20 66 |want to.|access f|
|000032c0| 72 6f 6d 20 74 68 69 73 | 20 76 6f 6c 75 6d 65 2e |rom this| volume.|
|000032d0| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 69 66 | For exa|mple, if|
|000032e0| 20 79 6f 75 20 6d 6f 75 | 6e 74 20 79 6f 75 72 20 | you mou|nt your |
|000032f0| 58 7e 70 72 6f 67 72 61 | 6d 73 20 62 79 0a 4e 46 |X~progra|ms by.NF|
|00003300| 53 2c 20 79 6f 75 20 63 | 65 72 74 61 69 6e 6c 79 |S, you c|ertainly|
|00003310| 20 77 6f 75 6c 64 20 6e | 6f 74 20 77 61 6e 74 20 | would n|ot want |
|00003320| 79 6f 75 72 20 58 7e 73 | 65 73 73 69 6f 6e 20 74 |your X~s|ession t|
|00003330| 6f 20 67 6f 20 62 65 72 | 73 65 72 6b 20 6a 75 73 |o go ber|serk jus|
|00003340| 74 0a 62 65 63 61 75 73 | 65 20 73 6f 6d 65 6f 6e |t.becaus|e someon|
|00003350| 65 20 62 72 6f 75 67 68 | 74 20 74 68 65 20 6e 65 |e brough|t the ne|
|00003360| 74 77 6f 72 6b 20 74 6f | 20 61 20 67 72 69 6e 64 |twork to| a grind|
|00003370| 69 6e 67 20 68 61 6c 74 | 20 62 79 20 66 69 72 69 |ing halt| by firi|
|00003380| 6e 67 20 75 70 0a 73 65 | 76 65 6e 20 63 6f 70 69 |ng up.se|ven copi|
|00003390| 65 73 20 6f 66 20 5c 70 | 72 6f 67 7b 78 76 7d 20 |es of \p|rog{xv} |
|000033a0| 61 74 20 74 68 65 20 73 | 61 6d 65 20 74 69 6d 65 |at the s|ame time|
|000033b0| 2c 20 6f 72 20 62 79 20 | 70 75 6c 6c 69 6e 67 20 |, or by |pulling |
|000033c0| 74 68 65 20 45 74 68 65 | 72 6e 65 74 0a 70 6c 75 |the Ethe|rnet.plu|
|000033d0| 67 20 66 6f 72 20 61 20 | 6d 6f 6d 65 6e 74 2e 20 |g for a |moment. |
|000033e0| 20 42 79 20 68 61 72 64 | 2d 6d 6f 75 6e 74 69 6e | By hard|-mountin|
|000033f0| 67 20 74 68 65 73 65 2c | 20 79 6f 75 20 6d 61 6b |g these,| you mak|
|00003400| 65 20 73 75 72 65 20 74 | 68 61 74 20 79 6f 75 72 |e sure t|hat your|
|00003410| 0a 63 6f 6d 70 75 74 65 | 72 20 77 69 6c 6c 20 77 |.compute|r will w|
|00003420| 61 69 74 20 75 6e 74 69 | 6c 20 69 74 20 69 73 20 |ait unti|l it is |
|00003430| 61 62 6c 65 20 74 6f 20 | 72 65 2d 65 73 74 61 62 |able to |re-estab|
|00003440| 6c 69 73 68 20 63 6f 6e | 74 61 63 74 20 77 69 74 |lish con|tact wit|
|00003450| 68 20 79 6f 75 72 0a 4e | 46 53 2d 73 65 72 76 65 |h your.N|FS-serve|
|00003460| 72 2e 20 20 4f 6e 20 74 | 68 65 20 6f 74 68 65 72 |r. On t|he other|
|00003470| 20 68 61 6e 64 2c 20 6e | 6f 6e 2d 63 72 69 74 69 | hand, n|on-criti|
|00003480| 63 61 6c 20 64 61 74 61 | 20 73 75 63 68 20 61 73 |cal data| such as|
|00003490| 20 4e 46 53 2d 6d 6f 75 | 6e 74 65 64 0a 6e 65 77 | NFS-mou|nted.new|
|000034a0| 73 20 70 61 72 74 69 74 | 69 74 6f 6e 73 20 6f 72 |s partit|itons or|
|000034b0| 20 46 54 50 20 61 72 63 | 68 69 76 65 73 20 6d 61 | FTP arc|hives ma|
|000034c0| 79 20 61 73 20 77 65 6c | 6c 20 62 65 20 73 6f 66 |y as wel|l be sof|
|000034d0| 74 2d 6d 6f 75 6e 74 65 | 64 2c 20 73 6f 20 69 74 |t-mounte|d, so it|
|000034e0| 0a 64 6f 65 73 6e 27 74 | 20 68 61 6e 67 20 79 6f |.doesn't| hang yo|
|000034f0| 75 72 20 73 65 73 73 69 | 6f 6e 20 69 6e 20 63 61 |ur sessi|on in ca|
|00003500| 73 65 20 74 68 65 20 72 | 65 6d 6f 74 65 20 6d 61 |se the r|emote ma|
|00003510| 63 68 69 6e 65 20 73 68 | 6f 75 6c 64 20 62 65 0a |chine sh|ould be.|
|00003520| 74 65 6d 70 6f 72 61 72 | 69 6c 79 20 75 6e 72 65 |temporar|ily unre|
|00003530| 61 63 68 61 62 6c 65 2c | 20 6f 72 20 64 6f 77 6e |achable,| or down|
|00003540| 2e 20 49 66 20 79 6f 75 | 72 20 6e 65 74 77 6f 72 |. If you|r networ|
|00003550| 6b 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 20 74 6f 20 |k connec|tion to |
|00003560| 74 68 65 0a 73 65 72 76 | 65 72 20 69 73 20 66 6c |the.serv|er is fl|
|00003570| 61 6b 65 79 20 6f 72 20 | 67 6f 65 73 20 74 68 72 |akey or |goes thr|
|00003580| 6f 75 67 68 20 61 20 6c | 6f 61 64 65 64 20 72 6f |ough a l|oaded ro|
|00003590| 75 74 65 72 2c 20 79 6f | 75 20 6d 61 79 20 65 69 |uter, yo|u may ei|
|000035a0| 74 68 65 72 0a 69 6e 63 | 72 65 61 73 65 20 74 68 |ther.inc|rease th|
|000035b0| 65 20 69 6e 69 74 69 61 | 6c 20 74 69 6d 65 6f 75 |e initia|l timeou|
|000035c0| 74 20 75 73 69 6e 67 20 | 74 68 65 20 5c 6b 65 79 |t using |the \key|
|000035d0| 77 6f 72 64 7b 74 69 6d | 65 6f 7d 20 6f 70 74 69 |word{tim|eo} opti|
|000035e0| 6f 6e 2c 20 6f 72 0a 68 | 61 72 64 2d 6d 6f 75 6e |on, or.h|ard-moun|
|000035f0| 74 20 74 68 65 20 76 6f | 6c 75 6d 65 73 2c 20 62 |t the vo|lumes, b|
|00003600| 75 74 20 61 6c 6c 6f 77 | 20 66 6f 72 20 73 69 67 |ut allow| for sig|
|00003610| 6e 61 6c 73 20 69 6e 74 | 65 72 72 75 70 74 69 6e |nals int|erruptin|
|00003620| 67 20 74 68 65 20 4e 46 | 53 20 63 61 6c 6c 0a 73 |g the NF|S call.s|
|00003630| 6f 20 74 68 61 74 20 79 | 6f 75 20 6d 61 79 20 73 |o that y|ou may s|
|00003640| 74 69 6c 6c 20 61 62 6f | 72 74 20 61 6e 79 20 68 |till abo|rt any h|
|00003650| 61 6e 67 69 6e 67 20 66 | 69 6c 65 20 61 63 63 65 |anging f|ile acce|
|00003660| 73 73 2e 0a 0a 0a 55 73 | 75 61 6c 6c 79 2c 20 74 |ss....Us|ually, t|
|00003670| 68 65 20 5c 70 72 6f 67 | 7b 6d 6f 75 6e 74 64 7d |he \prog|{mountd}|
|00003680| 20 64 61 65 6d 6f 6e 20 | 77 69 6c 6c 20 69 6e 20 | daemon |will in |
|00003690| 73 6f 6d 65 20 77 61 79 | 20 6f 72 20 6f 74 68 65 |some way| or othe|
|000036a0| 72 20 6b 65 65 70 20 74 | 72 61 63 6b 0a 6f 66 20 |r keep t|rack.of |
|000036b0| 77 68 69 63 68 20 64 69 | 72 65 63 74 6f 72 69 65 |which di|rectorie|
|000036c0| 73 20 68 61 76 65 20 62 | 65 65 6e 20 6d 6f 75 6e |s have b|een moun|
|000036d0| 74 65 64 20 62 79 20 77 | 68 61 74 20 68 6f 73 74 |ted by w|hat host|
|000036e0| 73 2e 20 54 68 69 73 20 | 69 6e 66 6f 72 6d 61 74 |s. This |informat|
|000036f0| 69 6f 6e 0a 63 61 6e 20 | 62 65 20 64 69 73 70 6c |ion.can |be displ|
|00003700| 61 79 65 64 20 75 73 69 | 6e 67 20 74 68 65 20 5c |ayed usi|ng the \|
|00003710| 70 72 6f 67 7b 73 68 6f | 77 6d 6f 75 6e 74 7d 20 |prog{sho|wmount} |
|00003720| 70 72 6f 67 72 61 6d 2c | 20 77 68 69 63 68 20 69 |program,| which i|
|00003730| 73 20 61 6c 73 6f 0a 69 | 6e 63 6c 75 64 65 64 20 |s also.i|ncluded |
|00003740| 69 6e 20 74 68 65 20 4e | 46 53 20 73 65 72 76 65 |in the N|FS serve|
|00003750| 72 20 70 61 63 6b 61 67 | 65 2e 20 54 68 65 20 5c |r packag|e. The \|
|00003760| 6c 69 6e 75 78 7b 7d 20 | 5c 70 72 6f 67 7b 6d 6f |linux{} |\prog{mo|
|00003770| 75 6e 74 64 7d 2c 20 68 | 6f 77 65 76 65 72 2c 0a |untd}, h|owever,.|
|00003780| 64 6f 65 73 20 6e 6f 74 | 20 64 6f 20 74 68 69 73 |does not| do this|
|00003790| 20 79 65 74 2e 0a 0a 0a | 0a 0a 5c 73 65 63 74 69 | yet....|..\secti|
|000037a0| 6f 6e 7b 54 68 65 20 4e | 46 53 20 44 61 65 6d 6f |on{The N|FS Daemo|
|000037b0| 6e 73 7d 0a 25 25 25 25 | 25 25 25 25 25 25 25 25 |ns}.%%%%|%%%%%%%%|
|000037c0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000037d0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000037e0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000037f0| 25 25 25 25 25 0a 5c 6c | 61 62 65 6c 7b 6e 66 73 |%%%%%.\l|abel{nfs|
|00003800| 2e 64 61 65 6d 6f 6e 73 | 7d 0a 5c 69 6e 64 65 78 |.daemons|}.\index|
|00003810| 7b 4e 46 53 21 73 65 72 | 76 65 72 7d 0a 5c 69 6e |{NFS!ser|ver}.\in|
|00003820| 64 65 78 7b 72 63 2e 69 | 6e 65 74 40 5c 66 69 6c |dex{rc.i|net@\fil|
|00003830| 65 7b 72 63 2e 69 6e 65 | 74 7d 7d 0a 5c 69 6e 64 |e{rc.ine|t}}.\ind|
|00003840| 65 78 7b 6d 6f 75 6e 74 | 64 40 5c 70 72 6f 67 7b |ex{mount|d@\prog{|
|00003850| 6d 6f 75 6e 74 64 7d 7d | 0a 5c 69 6e 64 65 78 7b |mountd}}|.\index{|
|00003860| 6e 66 73 64 40 5c 70 72 | 6f 67 7b 6e 66 73 64 7d |nfsd@\pr|og{nfsd}|
|00003870| 7d 0a 0a 49 66 20 79 6f | 75 20 77 61 6e 74 20 74 |}..If yo|u want t|
|00003880| 6f 20 70 72 6f 76 69 64 | 65 20 4e 46 53 20 73 65 |o provid|e NFS se|
|00003890| 72 76 69 63 65 20 74 6f | 20 6f 74 68 65 72 20 68 |rvice to| other h|
|000038a0| 6f 73 74 73 2c 20 79 6f | 75 20 68 61 76 65 20 74 |osts, yo|u have t|
|000038b0| 6f 20 72 75 6e 20 74 68 | 65 0a 5c 70 72 6f 67 7b |o run th|e.\prog{|
|000038c0| 6e 66 73 64 7d 20 61 6e | 64 20 5c 70 72 6f 67 7b |nfsd} an|d \prog{|
|000038d0| 6d 6f 75 6e 74 64 7d 20 | 64 61 65 6d 6f 6e 73 20 |mountd} |daemons |
|000038e0| 6f 6e 20 79 6f 75 72 20 | 6d 61 63 68 69 6e 65 2e |on your |machine.|
|000038f0| 20 20 41 73 20 52 50 43 | 2d 62 61 73 65 64 0a 70 | As RPC|-based.p|
|00003900| 72 6f 67 72 61 6d 73 2c | 20 74 68 65 79 20 61 72 |rograms,| they ar|
|00003910| 65 20 6e 6f 74 20 6d 61 | 6e 61 67 65 64 20 62 79 |e not ma|naged by|
|00003920| 20 5c 70 72 6f 67 7b 69 | 6e 65 74 64 7d 2c 20 62 | \prog{i|netd}, b|
|00003930| 75 74 20 61 72 65 20 73 | 74 61 72 74 65 64 20 75 |ut are s|tarted u|
|00003940| 70 20 61 74 0a 62 6f 6f | 74 20 74 69 6d 65 2c 20 |p at.boo|t time, |
|00003950| 61 6e 64 20 72 65 67 69 | 73 74 65 72 20 74 68 65 |and regi|ster the|
|00003960| 6d 73 65 6c 76 65 73 20 | 77 69 74 68 20 74 68 65 |mselves |with the|
|00003970| 20 70 6f 72 74 6d 61 70 | 70 65 72 2e 20 54 68 65 | portmap|per. The|
|00003980| 72 65 66 6f 72 65 2c 20 | 79 6f 75 0a 68 61 76 65 |refore, |you.have|
|00003990| 20 74 6f 20 6d 61 6b 65 | 20 73 75 72 65 20 74 6f | to make| sure to|
|000039a0| 20 73 74 61 72 74 20 74 | 68 65 6d 20 6f 6e 6c 79 | start t|hem only|
|000039b0| 20 61 66 74 65 72 20 5c | 70 72 6f 67 7b 72 70 63 | after \|prog{rpc|
|000039c0| 2e 70 6f 72 74 6d 61 70 | 7d 20 69 73 0a 72 75 6e |.portmap|} is.run|
|000039d0| 6e 69 6e 67 2e 20 20 55 | 73 75 61 6c 6c 79 2c 20 |ning. U|sually, |
|000039e0| 79 6f 75 20 69 6e 63 6c | 75 64 65 20 74 68 65 20 |you incl|ude the |
|000039f0| 66 6f 6c 6c 6f 77 69 6e | 67 20 74 77 6f 20 6c 69 |followin|g two li|
|00003a00| 6e 65 73 20 69 6e 20 79 | 6f 75 72 0a 5c 66 69 6c |nes in y|our.\fil|
|00003a10| 65 7b 72 63 2e 69 6e 65 | 74 32 7d 20 73 63 72 69 |e{rc.ine|t2} scri|
|00003a20| 70 74 3a 0a 0a 0a 5c 62 | 65 67 69 6e 7b 74 73 63 |pt:...\b|egin{tsc|
|00003a30| 72 65 65 6e 7d 0a 5c 62 | 65 67 69 6e 7b 76 65 72 |reen}.\b|egin{ver|
|00003a40| 62 61 74 69 6d 7d 0a 69 | 66 20 5b 20 2d 78 20 2f |batim}.i|f [ -x /|
|00003a50| 75 73 72 2f 73 62 69 6e | 2f 72 70 63 2e 6d 6f 75 |usr/sbin|/rpc.mou|
|00003a60| 6e 74 64 20 5d 3b 20 74 | 68 65 6e 0a 20 20 20 20 |ntd ]; t|hen. |
|00003a70| 20 20 20 20 2f 75 73 72 | 2f 73 62 69 6e 2f 72 70 | /usr|/sbin/rp|
|00003a80| 63 2e 6d 6f 75 6e 74 64 | 3b 20 65 63 68 6f 20 2d |c.mountd|; echo -|
|00003a90| 6e 20 22 20 6d 6f 75 6e | 74 64 22 0a 66 69 0a 69 |n " moun|td".fi.i|
|00003aa0| 66 20 5b 20 2d 78 20 2f | 75 73 72 2f 73 62 69 6e |f [ -x /|usr/sbin|
|00003ab0| 2f 72 70 63 2e 6e 66 73 | 64 20 5d 3b 20 74 68 65 |/rpc.nfs|d ]; the|
|00003ac0| 6e 0a 20 20 20 20 20 20 | 20 20 2f 75 73 72 2f 73 |n. | /usr/s|
|00003ad0| 62 69 6e 2f 72 70 63 2e | 6e 66 73 64 3b 20 65 63 |bin/rpc.|nfsd; ec|
|00003ae0| 68 6f 20 2d 6e 20 22 20 | 6e 66 73 64 22 0a 66 69 |ho -n " |nfsd".fi|
|00003af0| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00003b00| 5c 65 6e 64 7b 74 73 63 | 72 65 65 6e 7d 0a 0a 0a |\end{tsc|reen}...|
|00003b10| 5c 69 6e 64 65 78 7b 4e | 46 53 21 6d 61 74 63 68 |\index{N|FS!match|
|00003b20| 69 6e 67 20 75 69 64 73 | 20 61 6e 64 20 67 69 64 |ing uids| and gid|
|00003b30| 73 7d 0a 54 68 65 20 6f | 77 6e 65 72 73 68 69 70 |s}.The o|wnership|
|00003b40| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 66 20 | informa|tion of |
|00003b50| 66 69 6c 65 73 20 61 20 | 4e 46 53 20 64 61 65 6d |files a |NFS daem|
|00003b60| 6f 6e 20 70 72 6f 76 69 | 64 65 73 20 74 6f 20 69 |on provi|des to i|
|00003b70| 74 73 0a 63 6c 69 65 6e | 74 73 20 75 73 75 61 6c |ts.clien|ts usual|
|00003b80| 6c 79 20 63 6f 6e 74 61 | 69 6e 73 20 6f 6e 6c 79 |ly conta|ins only|
|00003b90| 20 6e 75 6d 65 72 69 63 | 61 6c 20 75 73 65 72 20 | numeric|al user |
|00003ba0| 61 6e 64 20 67 72 6f 75 | 70 20 69 64 27 73 2e 20 |and grou|p id's. |
|00003bb0| 20 49 66 20 62 6f 74 68 | 0a 63 6c 69 65 6e 74 20 | If both|.client |
|00003bc0| 61 6e 64 20 73 65 72 76 | 65 72 20 61 73 73 6f 63 |and serv|er assoc|
|00003bd0| 69 61 74 65 20 74 68 65 | 20 73 61 6d 65 20 75 73 |iate the| same us|
|00003be0| 65 72 20 61 6e 64 20 67 | 72 6f 75 70 20 6e 61 6d |er and g|roup nam|
|00003bf0| 65 73 20 77 69 74 68 20 | 74 68 65 73 65 0a 6e 75 |es with |these.nu|
|00003c00| 6d 65 72 69 63 61 6c 20 | 69 64 27 73 2c 20 74 68 |merical |id's, th|
|00003c10| 65 79 20 61 72 65 20 73 | 61 69 64 20 74 6f 20 73 |ey are s|aid to s|
|00003c20| 68 61 72 65 20 74 68 65 | 20 73 61 6d 65 20 75 69 |hare the| same ui|
|00003c30| 64 2f 67 69 64 20 73 70 | 61 63 65 2e 20 46 6f 72 |d/gid sp|ace. For|
|00003c40| 0a 65 78 61 6d 70 6c 65 | 2c 20 74 68 69 73 20 69 |.example|, this i|
|00003c50| 73 20 74 68 65 20 63 61 | 73 65 20 77 68 65 6e 20 |s the ca|se when |
|00003c60| 79 6f 75 20 75 73 65 20 | 4e 49 53 20 74 6f 20 64 |you use |NIS to d|
|00003c70| 69 73 74 72 69 62 75 74 | 65 20 74 68 65 0a 5c 66 |istribut|e the.\f|
|00003c80| 69 6c 65 7b 70 61 73 73 | 77 64 7d 20 69 6e 66 6f |ile{pass|wd} info|
|00003c90| 72 6d 61 74 69 6f 6e 20 | 74 6f 20 61 6c 6c 20 68 |rmation |to all h|
|00003ca0| 6f 73 74 73 20 6f 6e 20 | 79 6f 75 72 20 4c 41 4e |osts on |your LAN|
|00003cb0| 2e 0a 0a 0a 4f 6e 20 73 | 6f 6d 65 20 6f 63 63 61 |....On s|ome occa|
|00003cc0| 73 69 6f 6e 73 2c 20 68 | 6f 77 65 76 65 72 2c 20 |sions, h|owever, |
|00003cd0| 74 68 65 79 20 64 6f 20 | 6e 6f 74 20 6d 61 74 63 |they do |not matc|
|00003ce0| 68 2e 20 52 61 74 68 65 | 72 20 75 70 64 61 74 69 |h. Rathe|r updati|
|00003cf0| 6e 67 20 74 68 65 0a 75 | 69 64 27 73 20 61 6e 64 |ng the.u|id's and|
|00003d00| 20 67 69 64 27 73 20 6f | 66 20 74 68 65 20 63 6c | gid's o|f the cl|
|00003d10| 69 65 6e 74 20 74 6f 20 | 6d 61 74 63 68 20 74 68 |ient to |match th|
|00003d20| 6f 73 65 20 6f 66 20 74 | 68 65 20 73 65 72 76 65 |ose of t|he serve|
|00003d30| 72 2c 20 79 6f 75 20 63 | 61 6e 0a 75 73 65 20 74 |r, you c|an.use t|
|00003d40| 68 65 20 5c 70 72 6f 67 | 7b 75 67 69 64 64 7d 20 |he \prog|{ugidd} |
|00003d50| 6d 61 70 70 69 6e 67 20 | 64 61 65 6d 6f 6e 20 74 |mapping |daemon t|
|00003d60| 6f 20 77 6f 72 6b 20 61 | 72 6f 75 6e 64 20 74 68 |o work a|round th|
|00003d70| 69 73 2e 20 55 73 69 6e | 67 20 74 68 65 0a 5c 6b |is. Usin|g the.\k|
|00003d80| 65 79 77 6f 72 64 7b 6d | 61 70 5c 5f 64 61 65 6d |eyword{m|ap\_daem|
|00003d90| 6f 6e 7d 20 6f 70 74 69 | 6f 6e 20 65 78 70 6c 61 |on} opti|on expla|
|00003da0| 69 6e 65 64 20 62 65 6c | 6f 77 2c 20 79 6f 75 20 |ined bel|ow, you |
|00003db0| 63 61 6e 20 74 65 6c 6c | 20 5c 70 72 6f 67 7b 6e |can tell| \prog{n|
|00003dc0| 66 73 64 7d 0a 74 6f 20 | 6d 61 70 20 74 68 65 20 |fsd}.to |map the |
|00003dd0| 73 65 72 76 65 72 27 73 | 20 75 69 64 2f 67 69 64 |server's| uid/gid|
|00003de0| 20 73 70 61 63 65 20 74 | 6f 20 74 68 65 20 63 6c | space t|o the cl|
|00003df0| 69 65 6e 74 27 73 20 75 | 69 64 2f 67 69 64 20 73 |ient's u|id/gid s|
|00003e00| 70 61 63 65 20 77 69 74 | 68 0a 74 68 65 20 61 69 |pace wit|h.the ai|
|00003e10| 64 20 6f 66 20 74 68 65 | 20 5c 70 72 6f 67 7b 75 |d of the| \prog{u|
|00003e20| 67 69 64 64 7d 20 6f 6e | 20 74 68 65 20 63 6c 69 |gidd} on| the cli|
|00003e30| 65 6e 74 2e 0a 0a 0a 5c | 70 72 6f 67 7b 75 67 69 |ent....\|prog{ugi|
|00003e40| 64 64 7d 20 69 73 20 61 | 6e 20 52 50 43 2d 62 61 |dd} is a|n RPC-ba|
|00003e50| 73 65 64 20 73 65 72 76 | 65 72 2c 20 61 6e 64 20 |sed serv|er, and |
|00003e60| 69 73 20 73 74 61 72 74 | 65 64 20 66 72 6f 6d 0a |is start|ed from.|
|00003e70| 5c 66 69 6c 65 7b 72 63 | 2e 69 6e 65 74 32 7d 20 |\file{rc|.inet2} |
|00003e80| 6a 75 73 74 20 6c 69 6b | 65 20 5c 70 72 6f 67 7b |just lik|e \prog{|
|00003e90| 6e 66 73 64 7d 20 61 6e | 64 20 5c 70 72 6f 67 7b |nfsd} an|d \prog{|
|00003ea0| 6d 6f 75 6e 74 64 7d 2e | 0a 0a 0a 5c 62 65 67 69 |mountd}.|...\begi|
|00003eb0| 6e 7b 74 73 63 72 65 65 | 6e 7d 0a 5c 62 65 67 69 |n{tscree|n}.\begi|
|00003ec0| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 69 66 20 5b |n{verbat|im}.if [|
|00003ed0| 20 2d 78 20 2f 75 73 72 | 2f 73 62 69 6e 2f 72 70 | -x /usr|/sbin/rp|
|00003ee0| 63 2e 75 67 69 64 64 20 | 5d 3b 20 74 68 65 6e 0a |c.ugidd |]; then.|
|00003ef0| 20 20 20 20 20 20 20 20 | 2f 75 73 72 2f 73 62 69 | |/usr/sbi|
|00003f00| 6e 2f 72 70 63 2e 75 67 | 69 64 64 3b 20 65 63 68 |n/rpc.ug|idd; ech|
|00003f10| 6f 20 2d 6e 20 22 20 75 | 67 69 64 64 22 0a 66 69 |o -n " u|gidd".fi|
|00003f20| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00003f30| 5c 65 6e 64 7b 74 73 63 | 72 65 65 6e 7d 0a 0a 0a |\end{tsc|reen}...|
|00003f40| 0a 5c 73 65 63 74 69 6f | 6e 7b 54 68 65 20 5c 66 |.\sectio|n{The \f|
|00003f50| 69 6c 65 7b 65 78 70 6f | 72 74 73 7d 20 46 69 6c |ile{expo|rts} Fil|
|00003f60| 65 7d 0a 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |e}.%%%%%|%%%%%%%%|
|00003f70| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003f80| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003f90| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00003fa0| 25 25 25 25 0a 5c 6c 61 | 62 65 6c 7b 6e 66 73 2e |%%%%.\la|bel{nfs.|
|00003fb0| 65 78 70 6f 72 74 73 7d | 0a 5c 69 6e 64 65 78 7b |exports}|.\index{|
|00003fc0| 4e 46 53 21 65 78 70 6f | 72 74 69 6e 67 20 61 20 |NFS!expo|rting a |
|00003fd0| 76 6f 6c 75 6d 65 7d 0a | 5c 69 6e 64 65 78 7b 4e |volume}.|\index{N|
|00003fe0| 46 53 21 65 78 70 6f 72 | 74 73 40 5c 66 69 6c 65 |FS!expor|ts@\file|
|00003ff0| 7b 65 78 70 6f 72 74 73 | 7d 7d 0a 5c 69 6e 64 65 |{exports|}}.\inde|
|00004000| 78 7b 65 78 70 6f 72 74 | 69 6e 67 20 61 6e 20 4e |x{export|ing an N|
|00004010| 46 53 20 76 6f 6c 75 6d | 65 7d 0a 5c 69 6e 64 65 |FS volum|e}.\inde|
|00004020| 78 7b 61 63 63 65 73 73 | 21 67 72 61 6e 74 69 6e |x{access|!grantin|
|00004030| 67 7d 0a 5c 69 6e 64 65 | 78 7b 6d 6f 75 6e 74 64 |g}.\inde|x{mountd|
|00004040| 40 5c 70 72 6f 67 7b 6d | 6f 75 6e 74 64 7d 7d 0a |@\prog{m|ountd}}.|
|00004050| 5c 69 6e 64 65 78 7b 65 | 78 70 6f 72 74 73 40 5c |\index{e|xports@\|
|00004060| 66 69 6c 65 7b 65 78 70 | 6f 72 74 73 7d 7d 0a 0a |file{exp|orts}}..|
|00004070| 57 68 69 6c 65 20 74 68 | 65 20 61 62 6f 76 65 20 |While th|e above |
|00004080| 6f 70 74 69 6f 6e 73 20 | 61 70 70 6c 69 65 64 20 |options |applied |
|00004090| 74 6f 20 74 68 65 20 63 | 6c 69 65 6e 74 27 73 20 |to the c|lient's |
|000040a0| 4e 46 53 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |NFS conf|iguratio|
|000040b0| 6e 2c 0a 74 68 65 72 65 | 20 69 73 20 61 20 64 69 |n,.there| is a di|
|000040c0| 66 66 65 72 65 6e 74 20 | 73 65 74 20 6f 66 20 6f |fferent |set of o|
|000040d0| 70 74 69 6f 6e 73 20 6f | 6e 20 74 68 65 20 73 65 |ptions o|n the se|
|000040e0| 72 76 65 72 20 73 69 64 | 65 20 74 68 61 74 20 63 |rver sid|e that c|
|000040f0| 6f 6e 66 69 67 75 72 65 | 0a 69 74 73 20 70 65 72 |onfigure|.its per|
|00004100| 2d 63 6c 69 65 6e 74 20 | 62 65 68 61 76 69 6f 72 |-client |behavior|
|00004110| 2e 20 54 68 65 73 65 20 | 6f 70 74 69 6f 6e 73 20 |. These |options |
|00004120| 6d 75 73 74 20 62 65 20 | 73 65 74 20 69 6e 20 74 |must be |set in t|
|00004130| 68 65 0a 5c 66 69 6c 65 | 7b 2f 65 74 63 2f 65 78 |he.\file|{/etc/ex|
|00004140| 70 6f 72 74 73 7d 20 66 | 69 6c 65 2e 0a 0a 0a 42 |ports} f|ile....B|
|00004150| 79 20 64 65 66 61 75 6c | 74 2c 20 5c 70 72 6f 67 |y defaul|t, \prog|
|00004160| 7b 6d 6f 75 6e 74 64 7d | 20 77 69 6c 6c 20 6e 6f |{mountd}| will no|
|00004170| 74 20 61 6c 6c 6f 77 20 | 61 6e 79 6f 6e 65 20 74 |t allow |anyone t|
|00004180| 6f 20 6d 6f 75 6e 74 20 | 64 69 72 65 63 74 6f 72 |o mount |director|
|00004190| 69 65 73 0a 66 72 6f 6d | 20 74 68 65 20 6c 6f 63 |ies.from| the loc|
|000041a0| 61 6c 20 68 6f 73 74 2c | 20 77 68 69 63 68 20 69 |al host,| which i|
|000041b0| 73 20 61 20 72 61 74 68 | 65 72 20 73 65 6e 73 69 |s a rath|er sensi|
|000041c0| 62 6c 65 20 61 74 74 69 | 74 75 64 65 2e 20 54 6f |ble atti|tude. To|
|000041d0| 20 70 65 72 6d 69 74 0a | 6f 6e 65 20 6f 72 20 6d | permit.|one or m|
|000041e0| 6f 72 65 20 68 6f 73 74 | 73 20 74 6f 20 4e 46 53 |ore host|s to NFS|
|000041f0| 2d 6d 6f 75 6e 74 20 61 | 20 64 69 72 65 63 74 6f |-mount a| directo|
|00004200| 72 79 2c 20 69 74 20 6d | 75 73 74 20 5c 65 6d 70 |ry, it m|ust \emp|
|00004210| 68 7b 65 78 70 6f 72 74 | 65 64 7d 2c 20 74 68 61 |h{export|ed}, tha|
|00004220| 74 0a 69 73 2c 20 6d 75 | 73 74 20 62 65 20 73 70 |t.is, mu|st be sp|
|00004230| 65 63 69 66 69 65 64 20 | 69 6e 20 74 68 65 20 5c |ecified |in the \|
|00004240| 66 69 6c 65 7b 65 78 70 | 6f 72 74 73 7d 20 66 69 |file{exp|orts} fi|
|00004250| 6c 65 2e 20 41 20 73 61 | 6d 70 6c 65 20 66 69 6c |le. A sa|mple fil|
|00004260| 65 20 6d 61 79 0a 6c 6f | 6f 6b 20 6c 69 6b 65 20 |e may.lo|ok like |
|00004270| 74 68 69 73 3a 0a 0a 0a | 5c 62 65 67 69 6e 7b 74 |this:...|\begin{t|
|00004280| 73 63 72 65 65 6e 7d 0a | 5c 62 65 67 69 6e 7b 76 |screen}.|\begin{v|
|00004290| 65 72 62 61 74 69 6d 7d | 0a 23 20 65 78 70 6f 72 |erbatim}|.# expor|
|000042a0| 74 73 20 66 69 6c 65 20 | 66 6f 72 20 76 6c 61 67 |ts file |for vlag|
|000042b0| 65 72 0a 2f 68 6f 6d 65 | 20 20 20 20 20 20 20 20 |er./home| |
|000042c0| 20 20 20 20 20 76 61 6c | 65 28 72 77 29 20 76 73 | val|e(rw) vs|
|000042d0| 74 6f 75 74 28 72 77 29 | 20 76 6c 69 67 68 74 28 |tout(rw)| vlight(|
|000042e0| 72 77 29 0a 2f 75 73 72 | 2f 58 33 38 36 20 20 20 |rw)./usr|/X386 |
|000042f0| 20 20 20 20 20 20 76 61 | 6c 65 28 72 6f 29 20 76 | va|le(ro) v|
|00004300| 73 74 6f 75 74 28 72 6f | 29 20 76 6c 69 67 68 74 |stout(ro|) vlight|
|00004310| 28 72 6f 29 0a 2f 75 73 | 72 2f 54 65 58 20 20 20 |(ro)./us|r/TeX |
|00004320| 20 20 20 20 20 20 20 76 | 61 6c 65 28 72 6f 29 20 | v|ale(ro) |
|00004330| 76 73 74 6f 75 74 28 72 | 6f 29 20 76 6c 69 67 68 |vstout(r|o) vligh|
|00004340| 74 28 72 6f 29 0a 2f 20 | 20 20 20 20 20 20 20 20 |t(ro)./ | |
|00004350| 20 20 20 20 20 20 20 20 | 76 61 6c 65 28 72 77 2c | |vale(rw,|
|00004360| 6e 6f 5f 72 6f 6f 74 5f | 73 71 75 61 73 68 29 0a |no_root_|squash).|
|00004370| 2f 68 6f 6d 65 2f 66 74 | 70 20 20 20 20 20 20 20 |/home/ft|p |
|00004380| 20 20 28 72 6f 29 0a 5c | 65 6e 64 7b 76 65 72 62 | (ro).\|end{verb|
|00004390| 61 74 69 6d 7d 0a 5c 65 | 6e 64 7b 74 73 63 72 65 |atim}.\e|nd{tscre|
|000043a0| 65 6e 7d 0a 0a 0a 45 61 | 63 68 20 6c 69 6e 65 20 |en}...Ea|ch line |
|000043b0| 64 65 66 69 6e 65 73 20 | 61 20 64 69 72 65 63 74 |defines |a direct|
|000043c0| 6f 72 79 2c 20 61 6e 64 | 20 74 68 65 20 68 6f 73 |ory, and| the hos|
|000043d0| 74 73 20 61 6c 6c 6f 77 | 65 64 20 74 6f 20 6d 6f |ts allow|ed to mo|
|000043e0| 75 6e 74 20 69 74 2e 20 | 20 41 0a 68 6f 73 74 20 |unt it. | A.host |
|000043f0| 6e 61 6d 65 20 69 73 20 | 75 73 75 61 6c 6c 79 20 |name is |usually |
|00004400| 61 20 66 75 6c 6c 79 20 | 71 75 61 6c 69 66 69 65 |a fully |qualifie|
|00004410| 64 20 64 6f 6d 61 69 6e | 20 6e 61 6d 65 2c 20 62 |d domain| name, b|
|00004420| 75 74 20 6d 61 79 20 61 | 64 64 69 74 69 6f 6e 61 |ut may a|dditiona|
|00004430| 6c 6c 79 0a 63 6f 6e 74 | 61 69 6e 20 74 68 65 20 |lly.cont|ain the |
|00004440| 5c 6b 65 79 77 6f 72 64 | 7b 2a 7d 20 61 6e 64 20 |\keyword|{*} and |
|00004450| 5c 6b 65 79 77 6f 72 64 | 7b 3f 7d 20 77 69 6c 64 |\keyword|{?} wild|
|00004460| 63 61 72 64 2c 20 77 68 | 69 63 68 20 61 63 74 20 |card, wh|ich act |
|00004470| 74 68 65 20 77 61 79 20 | 74 68 65 79 0a 64 6f 20 |the way |they.do |
|00004480| 77 69 74 68 20 74 68 65 | 20 42 6f 75 72 6e 65 20 |with the| Bourne |
|00004490| 73 68 65 6c 6c 2e 20 46 | 6f 72 20 69 6e 73 74 61 |shell. F|or insta|
|000044a0| 6e 63 65 2c 20 5c 68 6f | 73 74 7b 6c 61 62 2a 2e |nce, \ho|st{lab*.|
|000044b0| 66 6f 6f 2e 63 6f 6d 7d | 20 6d 61 74 63 68 65 73 |foo.com}| matches|
|000044c0| 0a 5c 68 6f 73 74 7b 6c | 61 62 30 31 2e 66 6f 6f |.\host{l|ab01.foo|
|000044d0| 2e 63 6f 6d 7d 20 61 73 | 20 77 65 6c 6c 20 61 73 |.com} as| well as|
|000044e0| 20 5c 68 6f 73 74 7b 6c | 61 62 65 72 2e 66 6f 6f | \host{l|aber.foo|
|000044f0| 2e 63 6f 6d 7d 2e 20 20 | 49 66 20 6e 6f 20 68 6f |.com}. |If no ho|
|00004500| 73 74 20 6e 61 6d 65 0a | 69 73 20 67 69 76 65 6e |st name.|is given|
|00004510| 2c 20 61 73 20 77 69 74 | 68 20 74 68 65 20 5c 66 |, as wit|h the \f|
|00004520| 69 6c 65 7b 2f 68 6f 6d | 65 2f 66 74 70 7d 20 64 |ile{/hom|e/ftp} d|
|00004530| 69 72 65 63 74 6f 72 79 | 20 69 6e 20 74 68 65 20 |irectory| in the |
|00004540| 65 78 61 6d 70 6c 65 20 | 61 62 6f 76 65 2c 0a 61 |example |above,.a|
|00004550| 6e 79 20 68 6f 73 74 20 | 69 73 20 61 6c 6c 6f 77 |ny host |is allow|
|00004560| 65 64 20 74 6f 20 6d 6f | 75 6e 74 20 74 68 69 73 |ed to mo|unt this|
|00004570| 20 64 69 72 65 63 74 6f | 72 79 2e 0a 0a 0a 57 68 | directo|ry....Wh|
|00004580| 65 6e 20 63 68 65 63 6b | 69 6e 67 20 61 20 63 6c |en check|ing a cl|
|00004590| 69 65 6e 74 20 68 6f 73 | 74 20 61 67 61 69 6e 73 |ient hos|t agains|
|000045a0| 74 20 74 68 65 20 5c 66 | 69 6c 65 7b 65 78 70 6f |t the \f|ile{expo|
|000045b0| 72 74 73 7d 20 66 69 6c | 65 2c 0a 5c 70 72 6f 67 |rts} fil|e,.\prog|
|000045c0| 7b 6d 6f 75 6e 74 64 7d | 20 77 69 6c 6c 20 6c 6f |{mountd}| will lo|
|000045d0| 6f 6b 20 75 70 20 74 68 | 65 20 63 6c 69 65 6e 74 |ok up th|e client|
|000045e0| 27 73 20 68 6f 73 74 6e | 61 6d 65 20 75 73 69 6e |'s hostn|ame usin|
|000045f0| 67 20 74 68 65 0a 5c 66 | 75 6e 63 7b 67 65 74 68 |g the.\f|unc{geth|
|00004600| 6f 73 74 62 79 61 64 64 | 72 28 32 29 7d 20 63 61 |ostbyadd|r(2)} ca|
|00004610| 6c 6c 2e 20 57 69 74 68 | 20 44 4e 53 2c 20 74 68 |ll. With| DNS, th|
|00004620| 69 73 20 63 61 6c 6c 20 | 72 65 74 75 72 6e 73 20 |is call |returns |
|00004630| 74 68 65 20 63 6c 69 65 | 6e 74 27 73 0a 63 61 6e |the clie|nt's.can|
|00004640| 6f 6e 69 63 61 6c 20 68 | 6f 73 74 6e 61 6d 65 2c |onical h|ostname,|
|00004650| 20 73 6f 20 79 6f 75 20 | 6d 75 73 74 20 6d 61 6b | so you |must mak|
|00004660| 65 20 73 75 72 65 20 6e | 6f 74 20 74 6f 20 75 73 |e sure n|ot to us|
|00004670| 65 20 61 6c 69 61 73 65 | 73 20 69 6e 0a 5c 66 69 |e aliase|s in.\fi|
|00004680| 6c 65 7b 65 78 70 6f 72 | 74 73 7d 2e 20 20 57 69 |le{expor|ts}. Wi|
|00004690| 74 68 6f 75 74 20 75 73 | 69 6e 67 20 44 4e 53 2c |thout us|ing DNS,|
|000046a0| 20 74 68 65 20 72 65 74 | 75 72 6e 65 64 20 6e 61 | the ret|urned na|
|000046b0| 6d 65 20 69 73 20 74 68 | 65 20 66 69 72 73 74 0a |me is th|e first.|
|000046c0| 68 6f 73 74 6e 61 6d 65 | 20 66 6f 75 6e 64 20 69 |hostname| found i|
|000046d0| 6e 20 74 68 65 20 5c 66 | 69 6c 65 7b 68 6f 73 74 |n the \f|ile{host|
|000046e0| 73 7d 20 66 69 6c 65 20 | 74 68 61 74 20 6d 61 74 |s} file |that mat|
|000046f0| 63 68 65 73 20 74 68 65 | 20 63 6c 69 65 6e 74 27 |ches the| client'|
|00004700| 73 0a 61 64 64 72 65 73 | 73 2e 0a 0a 0a 54 68 65 |s.addres|s....The|
|00004710| 20 68 6f 73 74 20 6e 61 | 6d 65 20 69 73 20 66 6f | host na|me is fo|
|00004720| 6c 6c 6f 77 65 64 20 62 | 79 20 61 6e 20 6f 70 74 |llowed b|y an opt|
|00004730| 69 6f 6e 61 6c 2c 20 63 | 6f 6d 6d 61 2d 73 65 70 |ional, c|omma-sep|
|00004740| 61 72 61 74 65 64 20 6c | 69 73 74 20 6f 66 20 66 |arated l|ist of f|
|00004750| 6c 61 67 73 2c 0a 65 6e | 63 6c 6f 73 65 64 20 69 |lags,.en|closed i|
|00004760| 6e 20 62 72 61 63 6b 65 | 74 73 2e 20 54 68 65 73 |n bracke|ts. Thes|
|00004770| 65 20 66 6c 61 67 73 20 | 6d 61 79 20 74 61 6b 65 |e flags |may take|
|00004780| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 76 | the fol|lowing v|
|00004790| 61 6c 75 65 73 3a 0a 0a | 0a 5c 62 65 67 69 6e 7b |alues:..|.\begin{|
|000047a0| 64 69 73 70 69 74 65 6d | 73 7d 0a 5c 64 69 74 65 |dispitem|s}.\dite|
|000047b0| 6d 5b 5c 6b 65 79 77 6f | 72 64 7b 69 6e 73 65 63 |m[\keywo|rd{insec|
|000047c0| 75 72 65 7d 5d 0a 20 20 | 20 20 20 20 20 20 50 65 |ure}]. | Pe|
|000047d0| 72 6d 69 74 20 6e 6f 6e | 2d 61 75 74 68 65 6e 74 |rmit non|-authent|
|000047e0| 69 63 61 74 65 64 20 61 | 63 63 65 73 73 20 66 72 |icated a|ccess fr|
|000047f0| 6f 6d 20 74 68 69 73 20 | 6d 61 63 68 69 6e 65 2e |om this |machine.|
|00004800| 0a 0a 5c 64 69 74 65 6d | 5b 5c 6b 65 79 77 6f 72 |..\ditem|[\keywor|
|00004810| 64 7b 75 6e 69 78 2d 72 | 70 63 7d 5d 0a 20 20 20 |d{unix-r|pc}]. |
|00004820| 20 20 20 20 20 52 65 71 | 75 69 72 65 20 55 4e 49 | Req|uire UNI|
|00004830| 58 2d 64 6f 6d 61 69 6e | 20 52 50 43 20 61 75 74 |X-domain| RPC aut|
|00004840| 68 65 6e 74 69 63 61 74 | 69 6f 6e 20 66 72 6f 6d |henticat|ion from|
|00004850| 20 74 68 69 73 20 6d 61 | 63 68 69 6e 65 2e 20 20 | this ma|chine. |
|00004860| 54 68 69 73 0a 20 20 20 | 20 20 20 20 20 73 69 6d |This. | sim|
|00004870| 70 6c 79 20 72 65 71 75 | 69 72 65 73 20 74 68 61 |ply requ|ires tha|
|00004880| 74 20 72 65 71 75 65 73 | 74 73 20 6f 72 69 67 69 |t reques|ts origi|
|00004890| 6e 61 74 65 20 66 72 6f | 6d 20 61 20 72 65 73 65 |nate fro|m a rese|
|000048a0| 72 76 65 64 20 69 6e 74 | 65 72 6e 65 74 0a 20 20 |rved int|ernet. |
|000048b0| 20 20 20 20 20 20 70 6f | 72 74 20 28 69 2e 65 2e | po|rt (i.e.|
|000048c0| 20 74 68 65 20 70 6f 72 | 74 20 6e 75 6d 62 65 72 | the por|t number|
|000048d0| 20 68 61 73 20 74 6f 20 | 62 65 20 6c 65 73 73 20 | has to |be less |
|000048e0| 74 68 61 6e 20 31 30 32 | 34 29 2e 20 20 54 68 69 |than 102|4). Thi|
|000048f0| 73 0a 20 20 20 20 20 20 | 20 20 6f 70 74 69 6f 6e |s. | option|
|00004900| 20 69 73 20 6f 6e 20 62 | 79 20 64 65 66 61 75 6c | is on b|y defaul|
|00004910| 74 2e 0a 0a 25 25 20 4e | 6f 74 20 69 6d 70 6c 65 |t...%% N|ot imple|
|00004920| 6d 65 6e 74 65 64 3a 0a | 5c 64 69 74 65 6d 5b 5c |mented:.|\ditem[\|
|00004930| 6b 65 79 77 6f 72 64 7b | 73 65 63 75 72 65 2d 72 |keyword{|secure-r|
|00004940| 70 63 7d 5d 0a 20 20 20 | 20 20 20 20 20 52 65 71 |pc}]. | Req|
|00004950| 75 69 72 65 20 73 65 63 | 75 72 65 20 52 50 43 20 |uire sec|ure RPC |
|00004960| 61 75 74 68 65 6e 74 69 | 63 61 74 69 6f 6e 20 66 |authenti|cation f|
|00004970| 72 6f 6d 20 74 68 69 73 | 20 6d 61 63 68 69 6e 65 |rom this| machine|
|00004980| 2e 20 54 68 69 73 20 68 | 61 73 0a 20 20 20 20 20 |. This h|as. |
|00004990| 20 20 20 6e 6f 74 20 62 | 65 65 6e 20 69 6d 70 6c | not b|een impl|
|000049a0| 65 6d 65 6e 74 65 64 20 | 79 65 74 2e 20 53 65 65 |emented |yet. See|
|000049b0| 20 53 75 6e 27 73 20 64 | 6f 63 75 6d 65 6e 74 61 | Sun's d|ocumenta|
|000049c0| 74 69 6f 6e 20 6f 6e 20 | 53 65 63 75 72 65 20 52 |tion on |Secure R|
|000049d0| 50 43 2e 0a 0a 5c 64 69 | 74 65 6d 5b 5c 6b 65 79 |PC...\di|tem[\key|
|000049e0| 77 6f 72 64 7b 6b 65 72 | 62 65 72 6f 73 7d 5d 0a |word{ker|beros}].|
|000049f0| 20 20 20 20 20 20 20 20 | 52 65 71 75 69 72 65 20 | |Require |
|00004a00| 4b 65 72 62 65 72 6f 73 | 20 61 75 74 68 65 6e 74 |Kerberos| authent|
|00004a10| 69 63 61 74 69 6f 6e 20 | 6f 6e 20 61 63 63 65 73 |ication |on acces|
|00004a20| 73 65 73 20 66 72 6f 6d | 20 74 68 69 73 20 6d 61 |ses from| this ma|
|00004a30| 63 68 69 6e 65 2e 0a 20 | 20 20 20 20 20 20 20 54 |chine.. | T|
|00004a40| 68 69 73 20 68 61 73 20 | 6e 6f 74 20 62 65 65 6e |his has |not been|
|00004a50| 20 69 6d 70 6c 65 6d 65 | 6e 74 65 64 20 79 65 74 | impleme|nted yet|
|00004a60| 2e 20 20 53 65 65 20 74 | 68 65 20 4d 49 54 20 64 |. See t|he MIT d|
|00004a70| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 6f 6e 0a |ocumenta|tion on.|
|00004a80| 20 20 20 20 20 20 20 20 | 74 68 65 20 4b 65 72 62 | |the Kerb|
|00004a90| 65 72 6f 73 20 61 75 74 | 68 65 6e 74 69 63 61 74 |eros aut|henticat|
|00004aa0| 69 6f 6e 20 73 79 73 74 | 65 6d 2e 0a 0a 5c 64 69 |ion syst|em...\di|
|00004ab0| 74 65 6d 5b 5c 6b 65 79 | 77 6f 72 64 7b 72 6f 6f |tem[\key|word{roo|
|00004ac0| 74 5c 5f 73 71 75 61 73 | 68 7d 5d 0a 20 20 20 20 |t\_squas|h}]. |
|00004ad0| 20 20 20 20 5c 69 6e 64 | 65 78 7b 72 65 73 74 72 | \ind|ex{restr|
|00004ae0| 69 63 74 20 72 6f 6f 74 | 20 61 63 63 65 73 73 40 |ict root| access@|
|00004af0| 72 65 73 74 72 69 63 74 | 20 5c 75 73 65 72 7b 72 |restrict| \user{r|
|00004b00| 6f 6f 74 7d 20 61 63 63 | 65 73 73 7d 0a 20 20 20 |oot} acc|ess}. |
|00004b10| 20 20 20 20 20 5c 69 6e | 64 65 78 7b 61 63 63 65 | \in|dex{acce|
|00004b20| 73 73 21 72 65 73 74 72 | 69 63 74 7d 0a 20 20 20 |ss!restr|ict}. |
|00004b30| 20 20 20 20 20 54 68 69 | 73 20 69 73 20 61 20 73 | Thi|s is a s|
|00004b40| 65 63 75 72 69 74 79 20 | 66 65 61 74 75 72 65 20 |ecurity |feature |
|00004b50| 74 68 61 74 20 64 65 6e | 69 65 73 20 74 68 65 20 |that den|ies the |
|00004b60| 73 75 70 65 72 20 75 73 | 65 72 20 6f 6e 20 74 68 |super us|er on th|
|00004b70| 65 0a 20 20 20 20 20 20 | 20 20 73 70 65 63 69 66 |e. | specif|
|00004b80| 69 65 64 20 68 6f 73 74 | 73 20 61 6e 79 20 73 70 |ied host|s any sp|
|00004b90| 65 63 69 61 6c 20 61 63 | 63 65 73 73 20 72 69 67 |ecial ac|cess rig|
|00004ba0| 68 74 73 20 62 79 20 6d | 61 70 70 69 6e 67 20 72 |hts by m|apping r|
|00004bb0| 65 71 75 65 73 74 73 0a | 20 20 20 20 20 20 20 20 |equests.| |
|00004bc0| 66 72 6f 6d 20 75 69 64 | 20 30 20 6f 6e 20 74 68 |from uid| 0 on th|
|00004bd0| 65 20 63 6c 69 65 6e 74 | 20 74 6f 20 75 69 64 20 |e client| to uid |
|00004be0| 36 35 35 33 34 20 28 2d | 32 29 20 6f 6e 20 74 68 |65534 (-|2) on th|
|00004bf0| 65 20 73 65 72 76 65 72 | 2e 20 20 54 68 69 73 0a |e server|. This.|
|00004c00| 20 20 20 20 20 20 20 20 | 75 69 64 20 73 68 6f 75 | |uid shou|
|00004c10| 6c 64 20 62 65 20 61 73 | 73 6f 63 69 61 74 65 64 |ld be as|sociated|
|00004c20| 20 77 69 74 68 20 74 68 | 65 20 75 73 65 72 20 5c | with th|e user \|
|00004c30| 75 73 65 72 7b 6e 6f 62 | 6f 64 79 7d 2e 0a 0a 5c |user{nob|ody}...\|
|00004c40| 64 69 74 65 6d 5b 5c 6b | 65 79 77 6f 72 64 7b 6e |ditem[\k|eyword{n|
|00004c50| 6f 5c 5f 72 6f 6f 74 5c | 5f 73 71 75 61 73 68 7d |o\_root\|_squash}|
|00004c60| 5d 0a 20 20 20 20 20 20 | 20 20 44 6f 6e 27 74 20 |]. | Don't |
|00004c70| 6d 61 70 20 72 65 71 75 | 65 73 74 73 20 66 72 6f |map requ|ests fro|
|00004c80| 6d 20 75 69 64 20 30 2e | 20 20 54 68 69 73 20 6f |m uid 0.| This o|
|00004c90| 70 74 69 6f 6e 20 69 73 | 20 6f 6e 20 62 79 20 64 |ption is| on by d|
|00004ca0| 65 66 61 75 6c 74 2e 0a | 0a 5c 64 69 74 65 6d 5b |efault..|.\ditem[|
|00004cb0| 5c 6b 65 79 77 6f 72 64 | 7b 72 6f 7d 5d 0a 20 20 |\keyword|{ro}]. |
|00004cc0| 20 20 20 20 20 20 5c 69 | 6e 64 65 78 7b 6d 6f 75 | \i|ndex{mou|
|00004cd0| 6e 74 69 6e 67 21 72 65 | 61 64 6f 6e 6c 79 7d 0a |nting!re|adonly}.|
|00004ce0| 20 20 20 20 20 20 20 20 | 5c 69 6e 64 65 78 7b 72 | |\index{r|
|00004cf0| 65 61 64 6f 6e 6c 79 20 | 4e 46 53 20 76 6f 6c 75 |eadonly |NFS volu|
|00004d00| 6d 65 7d 0a 20 20 20 20 | 20 20 20 20 5c 69 6e 64 |me}. | \ind|
|00004d10| 65 78 7b 4e 46 53 21 72 | 65 61 64 6f 6e 6c 79 20 |ex{NFS!r|eadonly |
|00004d20| 76 6f 6c 75 6d 65 7d 0a | 20 20 20 20 20 20 20 20 |volume}.| |
|00004d30| 4d 6f 75 6e 74 20 66 69 | 6c 65 20 68 69 65 72 61 |Mount fi|le hiera|
|00004d40| 72 63 68 79 20 72 65 61 | 64 2d 6f 6e 6c 79 2e 20 |rchy rea|d-only. |
|00004d50| 20 54 68 69 73 20 6f 70 | 74 69 6f 6e 20 69 73 20 | This op|tion is |
|00004d60| 6f 6e 20 62 79 20 64 65 | 66 61 75 6c 74 2e 0a 0a |on by de|fault...|
|00004d70| 5c 64 69 74 65 6d 5b 5c | 6b 65 79 77 6f 72 64 7b |\ditem[\|keyword{|
|00004d80| 72 77 7d 5d 0a 20 20 20 | 20 20 20 20 20 4d 6f 75 |rw}]. | Mou|
|00004d90| 6e 74 20 66 69 6c 65 20 | 68 69 65 72 61 72 63 68 |nt file |hierarch|
|00004da0| 79 20 72 65 61 64 2d 77 | 72 69 74 65 2e 0a 0a 5c |y read-w|rite...\|
|00004db0| 64 69 74 65 6d 5b 5c 6b | 65 79 77 6f 72 64 7b 6c |ditem[\k|eyword{l|
|00004dc0| 69 6e 6b 5c 5f 72 65 6c | 61 74 69 76 65 7d 5d 0a |ink\_rel|ative}].|
|00004dd0| 20 20 20 20 20 20 20 20 | 43 6f 6e 76 65 72 74 20 | |Convert |
|00004de0| 61 62 73 6f 6c 75 74 65 | 20 73 79 6d 62 6f 6c 69 |absolute| symboli|
|00004df0| 63 20 6c 69 6e 6b 73 20 | 28 77 68 65 72 65 20 74 |c links |(where t|
|00004e00| 68 65 20 6c 69 6e 6b 20 | 63 6f 6e 74 65 6e 74 73 |he link |contents|
|00004e10| 20 73 74 61 72 74 0a 20 | 20 20 20 20 20 20 20 77 | start. | w|
|00004e20| 69 74 68 20 61 20 73 6c | 61 73 68 29 20 69 6e 74 |ith a sl|ash) int|
|00004e30| 6f 20 72 65 6c 61 74 69 | 76 65 20 6c 69 6e 6b 73 |o relati|ve links|
|00004e40| 20 62 79 20 70 72 65 70 | 65 6e 64 69 6e 67 20 74 | by prep|ending t|
|00004e50| 68 65 20 6e 65 63 65 73 | 73 61 72 79 0a 20 20 20 |he neces|sary. |
|00004e60| 20 20 20 20 20 6e 75 6d | 62 65 72 20 6f 66 20 5c | num|ber of \|
|00004e70| 66 69 6c 65 7b 2e 2e 2f | 7d 27 73 20 74 6f 20 67 |file{../|}'s to g|
|00004e80| 65 74 20 66 72 6f 6d 20 | 74 68 65 20 64 69 72 65 |et from |the dire|
|00004e90| 63 74 6f 72 79 20 63 6f | 6e 74 61 69 6e 69 6e 67 |ctory co|ntaining|
|00004ea0| 20 74 68 65 0a 20 20 20 | 20 20 20 20 20 6c 69 6e | the. | lin|
|00004eb0| 6b 20 74 6f 20 74 68 65 | 20 72 6f 6f 74 20 6f 6e |k to the| root on|
|00004ec0| 20 74 68 65 20 73 65 72 | 76 65 72 2e 20 54 68 69 | the ser|ver. Thi|
|00004ed0| 73 20 6f 70 74 69 6f 6e | 20 6f 6e 6c 79 20 6d 61 |s option| only ma|
|00004ee0| 6b 65 73 20 73 65 6e 73 | 65 0a 20 20 20 20 20 20 |kes sens|e. |
|00004ef0| 20 20 77 68 65 6e 20 61 | 20 68 6f 73 74 27 73 20 | when a| host's |
|00004f00| 65 6e 74 69 72 65 20 66 | 69 6c 65 20 73 79 73 74 |entire f|ile syst|
|00004f10| 65 6d 20 69 73 20 6d 6f | 75 6e 74 65 64 2c 20 65 |em is mo|unted, e|
|00004f20| 6c 73 65 20 73 6f 6d 65 | 20 6f 66 20 74 68 65 0a |lse some| of the.|
|00004f30| 20 20 20 20 20 20 20 20 | 6c 69 6e 6b 73 20 6d 69 | |links mi|
|00004f40| 67 68 74 20 70 6f 69 6e | 74 20 74 6f 20 6e 6f 77 |ght poin|t to now|
|00004f50| 68 65 72 65 2c 20 6f 72 | 20 65 76 65 6e 20 77 6f |here, or| even wo|
|00004f60| 72 73 65 2c 20 66 69 6c | 65 73 20 74 68 65 79 20 |rse, fil|es they |
|00004f70| 77 65 72 65 0a 20 20 20 | 20 20 20 20 20 6e 65 76 |were. | nev|
|00004f80| 65 72 20 6d 65 61 6e 74 | 20 74 6f 20 70 6f 69 6e |er meant| to poin|
|00004f90| 74 20 74 6f 2e 0a 0a 20 | 20 20 20 20 20 20 20 54 |t to... | T|
|00004fa0| 68 69 73 20 6f 70 74 69 | 6f 6e 20 69 73 20 6f 6e |his opti|on is on|
|00004fb0| 20 62 79 20 64 65 66 61 | 75 6c 74 2e 0a 0a 5c 64 | by defa|ult...\d|
|00004fc0| 69 74 65 6d 5b 5c 6b 65 | 79 77 6f 72 64 7b 6c 69 |item[\ke|yword{li|
|00004fd0| 6e 6b 5c 5f 61 62 73 6f | 6c 75 74 65 7d 5d 0a 20 |nk\_abso|lute}]. |
|00004fe0| 20 20 20 20 20 20 20 4c | 65 61 76 65 20 61 6c 6c | L|eave all|
|00004ff0| 20 73 79 6d 62 6f 6c 69 | 63 20 6c 69 6e 6b 20 61 | symboli|c link a|
|00005000| 73 20 74 68 65 79 20 61 | 72 65 20 28 74 68 65 20 |s they a|re (the |
|00005010| 6e 6f 72 6d 61 6c 20 62 | 65 68 61 76 69 6f 72 20 |normal b|ehavior |
|00005020| 66 6f 72 0a 20 20 20 20 | 20 20 20 20 53 75 6e 2d |for. | Sun-|
|00005030| 73 75 70 70 6c 69 65 64 | 20 4e 46 53 20 73 65 72 |supplied| NFS ser|
|00005040| 76 65 72 73 29 2e 0a 0a | 5c 64 69 74 65 6d 5b 5c |vers)...|\ditem[\|
|00005050| 6b 65 79 77 6f 72 64 7b | 6d 61 70 5c 5f 69 64 65 |keyword{|map\_ide|
|00005060| 6e 74 69 74 79 7d 5d 0a | 20 20 20 20 20 20 20 20 |ntity}].| |
|00005070| 5c 69 6e 64 65 78 7b 4e | 46 53 21 6d 61 74 63 68 |\index{N|FS!match|
|00005080| 69 6e 67 20 75 69 64 73 | 20 61 6e 64 20 67 69 64 |ing uids| and gid|
|00005090| 73 7d 0a 20 20 20 20 20 | 20 20 20 54 68 65 20 5c |s}. | The \|
|000050a0| 6b 65 79 77 6f 72 64 7b | 6d 61 70 5c 5f 69 64 65 |keyword{|map\_ide|
|000050b0| 6e 74 69 74 79 7d 20 6f | 70 74 69 6f 6e 20 74 65 |ntity} o|ption te|
|000050c0| 6c 6c 73 20 74 68 65 20 | 73 65 72 76 65 72 20 74 |lls the |server t|
|000050d0| 6f 20 61 73 73 75 6d 65 | 0a 20 20 20 20 20 20 20 |o assume|. |
|000050e0| 20 74 68 61 74 20 74 68 | 65 20 63 6c 69 65 6e 74 | that th|e client|
|000050f0| 20 75 73 65 73 20 74 68 | 65 20 73 61 6d 65 20 75 | uses th|e same u|
|00005100| 69 64 27 73 20 61 6e 64 | 20 67 69 64 27 73 20 61 |id's and| gid's a|
|00005110| 73 20 74 68 65 20 73 65 | 72 76 65 72 2e 0a 20 20 |s the se|rver.. |
|00005120| 20 20 20 20 20 20 54 68 | 69 73 20 6f 70 74 69 6f | Th|is optio|
|00005130| 6e 20 69 73 20 6f 6e 20 | 62 79 20 64 65 66 61 75 |n is on |by defau|
|00005140| 6c 74 2e 0a 0a 5c 64 69 | 74 65 6d 5b 5c 6b 65 79 |lt...\di|tem[\key|
|00005150| 77 6f 72 64 7b 6d 61 70 | 5c 5f 64 61 65 6d 6f 6e |word{map|\_daemon|
|00005160| 7d 5d 0a 20 20 20 20 20 | 20 20 20 54 68 69 73 20 |}]. | This |
|00005170| 6f 70 74 69 6f 6e 20 74 | 65 6c 6c 73 20 74 68 65 |option t|ells the|
|00005180| 20 4e 46 53 20 73 65 72 | 76 65 72 20 74 6f 20 61 | NFS ser|ver to a|
|00005190| 73 73 75 6d 65 20 74 68 | 61 74 20 63 6c 69 65 6e |ssume th|at clien|
|000051a0| 74 20 61 6e 64 0a 20 20 | 20 20 20 20 20 20 73 65 |t and. | se|
|000051b0| 72 76 65 72 20 64 6f 20 | 6e 6f 74 20 73 68 61 72 |rver do |not shar|
|000051c0| 65 20 74 68 65 20 73 61 | 6d 65 20 75 69 64 2f 67 |e the sa|me uid/g|
|000051d0| 69 64 20 73 70 61 63 65 | 2e 20 20 5c 70 72 6f 67 |id space|. \prog|
|000051e0| 7b 6e 66 73 64 7d 20 77 | 69 6c 6c 0a 20 20 20 20 |{nfsd} w|ill. |
|000051f0| 20 20 20 20 74 68 65 6e | 20 62 75 69 6c 64 20 61 | then| build a|
|00005200| 20 6c 69 73 74 20 6d 61 | 70 70 69 6e 67 20 69 64 | list ma|pping id|
|00005210| 27 73 20 62 65 74 77 65 | 65 6e 20 63 6c 69 65 6e |'s betwe|en clien|
|00005220| 74 20 61 6e 64 20 73 65 | 72 76 65 72 20 62 79 0a |t and se|rver by.|
|00005230| 20 20 20 20 20 20 20 20 | 71 75 65 72 79 69 6e 67 | |querying|
|00005240| 20 74 68 65 20 63 6c 69 | 65 6e 74 27 73 20 5c 70 | the cli|ent's \p|
|00005250| 72 6f 67 7b 75 67 69 64 | 64 7d 20 64 61 65 6d 6f |rog{ugid|d} daemo|
|00005260| 6e 2e 0a 0a 5c 65 6e 64 | 7b 64 69 73 70 69 74 65 |n...\end|{dispite|
|00005270| 6d 73 7d 0a 0a 0a 5c 69 | 6e 64 65 78 7b 73 79 73 |ms}...\i|ndex{sys|
|00005280| 6c 6f 67 40 5c 70 72 6f | 67 7b 73 79 73 6c 6f 67 |log@\pro|g{syslog|
|00005290| 7d 7d 0a 41 6e 20 65 72 | 72 6f 72 20 70 61 72 73 |}}.An er|ror pars|
|000052a0| 69 6e 67 20 74 68 65 20 | 5c 66 69 6c 65 7b 65 78 |ing the |\file{ex|
|000052b0| 70 6f 72 74 73 7d 20 66 | 69 6c 65 20 69 73 20 72 |ports} f|ile is r|
|000052c0| 65 70 6f 72 74 65 64 20 | 74 6f 20 5c 70 72 6f 67 |eported |to \prog|
|000052d0| 7b 73 79 73 6c 6f 67 64 | 7d 27 73 0a 5c 6b 65 79 |{syslogd|}'s.\key|
|000052e0| 77 6f 72 64 7b 64 61 65 | 6d 6f 6e 7d 20 66 61 63 |word{dae|mon} fac|
|000052f0| 69 6c 69 74 79 20 61 74 | 20 6c 65 76 65 6c 20 5c |ility at| level \|
|00005300| 6b 65 79 77 6f 72 64 7b | 6e 6f 74 69 63 65 7d 20 |keyword{|notice} |
|00005310| 77 68 65 6e 65 76 65 72 | 20 5c 70 72 6f 67 7b 6e |whenever| \prog{n|
|00005320| 66 73 64 7d 20 6f 72 0a | 5c 70 72 6f 67 7b 6d 6f |fsd} or.|\prog{mo|
|00005330| 75 6e 74 64 7d 20 69 73 | 20 73 74 61 72 74 65 64 |untd} is| started|
|00005340| 20 75 70 2e 0a 0a 0a 4e | 6f 74 65 20 74 68 61 74 | up....N|ote that|
|00005350| 20 68 6f 73 74 20 6e 61 | 6d 65 73 20 61 72 65 20 | host na|mes are |
|00005360| 6f 62 74 61 69 6e 65 64 | 20 66 72 6f 6d 20 74 68 |obtained| from th|
|00005370| 65 20 63 6c 69 65 6e 74 | 27 73 20 49 50 7e 61 64 |e client|'s IP~ad|
|00005380| 64 72 65 73 73 20 62 79 | 0a 72 65 76 65 72 73 65 |dress by|.reverse|
|00005390| 20 6d 61 70 70 69 6e 67 | 2c 20 73 6f 20 79 6f 75 | mapping|, so you|
|000053a0| 20 68 61 76 65 20 74 6f | 20 68 61 76 65 20 74 68 | have to| have th|
|000053b0| 65 20 72 65 73 6f 6c 76 | 65 72 20 63 6f 6e 66 69 |e resolv|er confi|
|000053c0| 67 75 72 65 64 20 70 72 | 6f 70 65 72 6c 79 2e 0a |gured pr|operly..|
|000053d0| 49 66 20 79 6f 75 20 75 | 73 65 20 42 49 4e 44 20 |If you u|se BIND |
|000053e0| 61 6e 64 20 61 72 65 20 | 76 65 72 79 20 73 65 63 |and are |very sec|
|000053f0| 75 72 69 74 79 2d 63 6f | 6e 73 63 69 6f 75 73 2c |urity-co|nscious,|
|00005400| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 65 6e 61 62 | you sho|uld enab|
|00005410| 6c 65 20 73 70 6f 6f 66 | 0a 63 68 65 63 6b 69 6e |le spoof|.checkin|
|00005420| 67 20 69 6e 20 79 6f 75 | 72 20 5c 66 69 6c 65 7b |g in you|r \file{|
|00005430| 68 6f 73 74 2e 63 6f 6e | 66 7d 20 66 69 6c 65 2e |host.con|f} file.|
|00005440| 0a 0a 0a 0a 5c 73 65 63 | 74 69 6f 6e 7b 54 68 65 |....\sec|tion{The|
|00005450| 20 5c 6c 69 6e 75 78 7b | 7d 20 41 75 74 6f 6d 6f | \linux{|} Automo|
|00005460| 75 6e 74 65 72 7d 0a 25 | 25 25 25 25 25 25 25 25 |unter}.%|%%%%%%%%|
|00005470| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00005480| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|00005490| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000054a0| 25 25 25 25 25 25 25 25 | 0a 5c 6c 61 62 65 6c 7b |%%%%%%%%|.\label{|
|000054b0| 6e 66 73 2e 61 75 74 6f | 6d 6f 75 6e 74 65 72 7d |nfs.auto|mounter}|
|000054c0| 0a 5c 69 6e 64 65 78 7b | 4e 46 53 21 61 75 74 6f |.\index{|NFS!auto|
|000054d0| 6d 6f 75 6e 74 65 72 7d | 0a 5c 69 6e 64 65 78 7b |mounter}|.\index{|
|000054e0| 6d 6f 75 6e 74 69 6e 67 | 21 61 75 74 6f 6d 61 74 |mounting|!automat|
|000054f0| 69 63 61 6c 6c 79 7d 0a | 5c 69 6e 64 65 78 7b 61 |ically}.|\index{a|
|00005500| 75 74 6f 6d 6f 75 6e 74 | 65 72 7d 0a 5c 69 6e 64 |utomount|er}.\ind|
|00005510| 65 78 7b 61 6d 64 40 5c | 70 72 6f 67 7b 61 6d 64 |ex{amd@\|prog{amd|
|00005520| 7d 7d 0a 0a 53 6f 6d 65 | 74 69 6d 65 73 2c 20 69 |}}..Some|times, i|
|00005530| 74 20 69 73 20 77 61 73 | 74 65 66 75 6c 20 74 6f |t is was|teful to|
|00005540| 20 6d 6f 75 6e 74 20 61 | 6c 6c 20 4e 46 53 20 76 | mount a|ll NFS v|
|00005550| 6f 6c 75 6d 65 73 20 75 | 73 65 72 73 20 6d 69 67 |olumes u|sers mig|
|00005560| 68 74 20 70 6f 73 73 69 | 62 6c 79 0a 77 61 6e 74 |ht possi|bly.want|
|00005570| 20 74 6f 20 61 63 63 65 | 73 73 3b 20 65 69 74 68 | to acce|ss; eith|
|00005580| 65 72 20 62 65 63 61 75 | 73 65 20 6f 66 20 74 68 |er becau|se of th|
|00005590| 65 20 73 68 65 65 72 20 | 6e 75 6d 62 65 72 20 6f |e sheer |number o|
|000055a0| 66 20 76 6f 6c 75 6d 65 | 73 20 74 6f 20 62 65 0a |f volume|s to be.|
|000055b0| 6d 6f 75 6e 74 65 64 2c | 20 6f 72 20 62 65 63 61 |mounted,| or beca|
|000055c0| 75 73 65 20 6f 66 20 74 | 68 65 20 74 69 6d 65 20 |use of t|he time |
|000055d0| 74 68 69 73 20 77 6f 75 | 6c 64 20 74 61 6b 65 20 |this wou|ld take |
|000055e0| 61 74 20 73 74 61 72 74 | 75 70 2e 20 41 20 76 69 |at start|up. A vi|
|000055f0| 61 62 6c 65 0a 61 6c 74 | 65 72 6e 61 74 69 76 65 |able.alt|ernative|
|00005600| 20 74 6f 20 74 68 69 73 | 20 69 73 20 61 20 73 6f | to this| is a so|
|00005610| 2d 63 61 6c 6c 65 64 20 | 5c 65 6d 70 68 7b 61 75 |-called |\emph{au|
|00005620| 74 6f 6d 6f 75 6e 74 65 | 72 7d 2e 20 54 68 69 73 |tomounte|r}. This|
|00005630| 20 69 73 20 61 20 64 61 | 65 6d 6f 6e 0a 74 68 61 | is a da|emon.tha|
|00005640| 74 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 20 |t automa|tically |
|00005650| 61 6e 64 20 74 72 61 6e | 73 70 61 72 65 6e 74 6c |and tran|sparentl|
|00005660| 79 20 6d 6f 75 6e 74 73 | 20 61 6e 79 20 4e 46 53 |y mounts| any NFS|
|00005670| 20 76 6f 6c 75 6d 65 20 | 61 73 20 6e 65 65 64 65 | volume |as neede|
|00005680| 64 2c 0a 61 6e 64 20 75 | 6e 6d 6f 75 6e 74 73 20 |d,.and u|nmounts |
|00005690| 74 68 65 6d 20 61 66 74 | 65 72 20 74 68 65 79 20 |them aft|er they |
|000056a0| 68 61 76 65 20 6e 6f 74 | 20 62 65 65 6e 20 75 73 |have not| been us|
|000056b0| 65 64 20 66 6f 72 20 73 | 6f 6d 65 20 74 69 6d 65 |ed for s|ome time|
|000056c0| 2e 20 4f 6e 65 20 6f 66 | 0a 74 68 65 20 63 6c 65 |. One of|.the cle|
|000056d0| 76 65 72 20 74 68 69 6e | 67 73 20 61 62 6f 75 74 |ver thin|gs about|
|000056e0| 20 61 6e 20 61 75 74 6f | 6d 6f 75 6e 74 65 72 20 | an auto|mounter |
|000056f0| 69 73 20 74 68 61 74 20 | 69 74 20 69 73 20 61 62 |is that |it is ab|
|00005700| 6c 65 20 74 6f 20 6d 6f | 75 6e 74 20 61 0a 63 65 |le to mo|unt a.ce|
|00005710| 72 74 61 69 6e 20 76 6f | 6c 75 6d 65 20 66 72 6f |rtain vo|lume fro|
|00005720| 6d 20 61 6c 74 65 72 6e | 61 74 69 76 65 20 70 6c |m altern|ative pl|
|00005730| 61 63 65 73 2e 20 20 46 | 6f 72 20 69 6e 73 74 61 |aces. F|or insta|
|00005740| 6e 63 65 2c 20 79 6f 75 | 20 6d 61 79 20 6b 65 65 |nce, you| may kee|
|00005750| 70 0a 63 6f 70 69 65 73 | 20 6f 66 20 79 6f 75 72 |p.copies| of your|
|00005760| 20 58 7e 70 72 6f 67 72 | 61 6d 73 20 61 6e 64 20 | X~progr|ams and |
|00005770| 73 75 70 70 6f 72 74 20 | 66 69 6c 65 73 20 6f 6e |support |files on|
|00005780| 20 74 77 6f 20 6f 72 20 | 74 68 72 65 65 20 68 6f | two or |three ho|
|00005790| 73 74 73 2c 20 61 6e 64 | 0a 68 61 76 65 20 61 6c |sts, and|.have al|
|000057a0| 6c 20 6f 74 68 65 72 20 | 68 6f 73 74 73 20 6d 6f |l other |hosts mo|
|000057b0| 75 6e 74 20 74 68 65 6d | 20 76 69 61 20 4e 46 53 |unt them| via NFS|
|000057c0| 2e 20 20 55 73 69 6e 67 | 20 61 6e 20 61 75 74 6f |. Using| an auto|
|000057d0| 6d 6f 75 6e 74 65 72 2c | 20 79 6f 75 20 6d 61 79 |mounter,| you may|
|000057e0| 0a 73 70 65 63 69 66 79 | 20 61 6c 6c 20 74 68 72 |.specify| all thr|
|000057f0| 65 65 20 6f 66 20 74 68 | 65 6d 20 74 6f 20 62 65 |ee of th|em to be|
|00005800| 20 6d 6f 75 6e 74 65 64 | 20 6f 6e 20 5c 66 69 6c | mounted| on \fil|
|00005810| 65 7b 2f 75 73 72 2f 58 | 33 38 36 7d 3b 20 74 68 |e{/usr/X|386}; th|
|00005820| 65 0a 61 75 74 6f 6d 6f | 75 6e 74 65 72 20 77 69 |e.automo|unter wi|
|00005830| 6c 6c 20 74 68 65 6e 20 | 74 72 79 20 74 6f 20 6d |ll then |try to m|
|00005840| 6f 75 6e 74 20 61 6e 79 | 20 6f 66 20 74 68 65 73 |ount any| of thes|
|00005850| 65 20 75 6e 74 69 6c 20 | 6f 6e 65 20 6f 66 20 74 |e until |one of t|
|00005860| 68 65 20 6d 6f 75 6e 74 | 0a 61 74 74 65 6d 70 74 |he mount|.attempt|
|00005870| 73 20 73 75 63 63 65 65 | 64 73 2e 0a 0a 0a 25 20 |s succee|ds....% |
|00005880| 41 74 20 73 74 61 72 74 | 75 70 2c 0a 25 20 69 74 |At start|up,.% it|
|00005890| 20 72 65 61 64 73 20 73 | 6f 6d 65 20 73 6f 2d 63 | reads s|ome so-c|
|000058a0| 61 6c 6c 65 64 20 5c 65 | 6d 70 68 7b 6d 61 70 20 |alled \e|mph{map |
|000058b0| 66 69 6c 65 73 7d 20 74 | 68 61 74 20 73 70 65 63 |files} t|hat spec|
|000058c0| 69 66 79 20 64 69 72 65 | 63 74 6f 72 79 0a 25 20 |ify dire|ctory.% |
|000058d0| 61 63 63 65 73 73 20 70 | 6f 69 6e 74 73 2c 20 61 |access p|oints, a|
|000058e0| 6c 6f 6e 67 20 77 69 74 | 68 20 74 68 65 20 4e 46 |long wit|h the NF|
|000058f0| 53 20 76 6f 6c 75 6d 65 | 73 20 74 6f 20 62 65 20 |S volume|s to be |
|00005900| 6d 6f 75 6e 74 65 64 20 | 6f 6e 20 74 68 65 6d 2e |mounted |on them.|
|00005910| 0a 25 20 54 68 65 20 61 | 75 74 6f 6d 6f 75 6e 74 |.% The a|utomount|
|00005920| 65 72 20 6d 6f 6e 69 74 | 6f 72 73 20 74 68 65 73 |er monit|ors thes|
|00005930| 65 20 64 69 72 65 63 74 | 6f 72 69 65 73 2c 20 61 |e direct|ories, a|
|00005940| 6e 64 20 77 68 65 6e 65 | 76 65 72 20 61 6e 20 61 |nd whene|ver an a|
|00005950| 74 74 65 6d 70 74 20 69 | 73 0a 25 20 6d 61 64 65 |ttempt i|s.% made|
|00005960| 20 74 6f 20 61 63 63 65 | 73 73 20 6f 6e 65 20 6f | to acce|ss one o|
|00005970| 66 20 74 68 65 6d 2c 20 | 6f 72 20 61 20 66 69 6c |f them, |or a fil|
|00005980| 65 20 62 65 6c 6f 77 2c | 20 69 74 20 6d 6f 75 6e |e below,| it moun|
|00005990| 74 73 20 74 68 65 20 63 | 6f 72 72 65 73 70 6f 6e |ts the c|orrespon|
|000059a0| 64 69 6e 67 0a 25 20 4e | 46 53 20 76 6f 6c 75 6d |ding.% N|FS volum|
|000059b0| 65 2e 0a 0a 0a 54 68 65 | 20 61 75 74 6f 6d 6f 75 |e....The| automou|
|000059c0| 6e 74 65 72 20 63 6f 6d | 6d 6f 6e 6c 79 20 75 73 |nter com|monly us|
|000059d0| 65 64 20 77 69 74 68 20 | 5c 6c 69 6e 75 78 7b 7d |ed with |\linux{}|
|000059e0| 20 69 73 20 63 61 6c 6c | 65 64 20 5c 70 72 6f 67 | is call|ed \prog|
|000059f0| 7b 61 6d 64 7d 2e 20 49 | 74 0a 77 61 73 20 6f 72 |{amd}. I|t.was or|
|00005a00| 69 67 69 6e 61 6c 6c 79 | 20 77 72 69 74 74 65 6e |iginally| written|
|00005a10| 20 62 79 20 4a 61 6e 2d | 53 69 6d 6f 6e 20 50 65 | by Jan-|Simon Pe|
|00005a20| 6e 64 72 79 20 61 6e 64 | 20 68 61 73 20 62 65 65 |ndry and| has bee|
|00005a30| 6e 20 70 6f 72 74 65 64 | 20 74 6f 0a 5c 6c 69 6e |n ported| to.\lin|
|00005a40| 75 78 7b 7d 20 62 79 20 | 52 69 63 6b 20 53 6c 61 |ux{} by |Rick Sla|
|00005a50| 64 6b 65 79 2e 20 54 68 | 65 20 63 75 72 72 65 6e |dkey. Th|e curren|
|00005a60| 74 20 76 65 72 73 69 6f | 6e 20 69 73 20 5c 70 72 |t versio|n is \pr|
|00005a70| 6f 67 7b 61 6d 64 2d 35 | 2e 33 7d 2e 0a 0a 0a 45 |og{amd-5|.3}....E|
|00005a80| 78 70 6c 61 69 6e 69 6e | 67 20 5c 70 72 6f 67 7b |xplainin|g \prog{|
|00005a90| 61 6d 64 7d 20 69 73 20 | 62 65 79 6f 6e 64 20 74 |amd} is |beyond t|
|00005aa0| 68 65 20 73 63 6f 70 65 | 20 6f 66 20 74 68 69 73 |he scope| of this|
|00005ab0| 20 63 68 61 70 74 65 72 | 3b 20 66 6f 72 0a 61 20 | chapter|; for.a |
|00005ac0| 67 6f 6f 64 20 6d 61 6e | 75 61 6c 20 70 6c 65 61 |good man|ual plea|
|00005ad0| 73 65 20 72 65 66 65 72 | 20 74 6f 20 74 68 65 20 |se refer| to the |
|00005ae0| 73 6f 75 72 63 65 73 3b | 20 74 68 65 79 20 63 6f |sources;| they co|
|00005af0| 6e 74 61 69 6e 20 61 20 | 74 65 78 69 6e 66 6f 0a |ntain a |texinfo.|
|00005b00| 66 69 6c 65 20 77 69 74 | 68 20 76 65 72 79 20 64 |file wit|h very d|
|00005b10| 65 74 61 69 6c 65 64 20 | 69 6e 66 6f 72 6d 61 74 |etailed |informat|
|00005b20| 69 6f 6e 2e 0a 0a 0a 5c | 69 6e 64 65 78 7b 4e 46 |ion....\|index{NF|
|00005b30| 53 7c 29 7d 0a | |S|)}. | |
+--------+-------------------------+-------------------------+--------+--------+